pub struct SmilesClassification {
pub organic_class: OrganicInorganic,
pub functional_groups: Vec<FunctionalGroup>,
pub heading_hint: HeadingHint,
}Expand description
Result of SMILES-based functional group analysis and HS heading estimation.
Fields§
§organic_class: OrganicInorganicWhether the compound is organic, inorganic, or organometallic.
functional_groups: Vec<FunctionalGroup>Functional groups detected in the SMILES string. May be empty for simple hydrocarbons (alkanes, alkenes, etc.).
heading_hint: HeadingHintBest-guess HS chapter / heading based on detected groups.
Trait Implementations§
Source§impl Clone for SmilesClassification
impl Clone for SmilesClassification
Source§fn clone(&self) -> SmilesClassification
fn clone(&self) -> SmilesClassification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SmilesClassification
impl RefUnwindSafe for SmilesClassification
impl Send for SmilesClassification
impl Sync for SmilesClassification
impl Unpin for SmilesClassification
impl UnsafeUnpin for SmilesClassification
impl UnwindSafe for SmilesClassification
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