pub enum MolIds {
One(String),
Many(Vec<String>),
}Expand description
One or more mol ids (reactants / products).
Wire: "a" or ["a", "b"] — reactions may have multiple reactants and products.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MolIds
impl<'de> Deserialize<'de> for MolIds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MolIds
impl StructuralPartialEq for MolIds
Auto Trait Implementations§
impl Freeze for MolIds
impl RefUnwindSafe for MolIds
impl Send for MolIds
impl Sync for MolIds
impl Unpin for MolIds
impl UnsafeUnpin for MolIds
impl UnwindSafe for MolIds
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.