pub struct ChemicalNormalizationResult {
pub original_smiles: Option<String>,
pub canonical_smiles: Option<String>,
pub status: NormalizationStatus,
pub issues: Vec<NormalizationIssue>,
pub calculated: CalculatedIdentityProperties,
pub screening_alerts: Vec<String>,
}Expand description
Result of normalizing one candidate. canonical_smiles is a
deterministic transformation of the input for this chematic version,
not a confirmation of chemical identity — a candidate a normalizer
cannot process at all (missing/invalid structure, or the
chematic-normalization feature disabled) still returns supplied
CAS/name/concentration data untouched elsewhere in the generation
pipeline; this result only ever adds information, it never causes
already-resolved fields to be discarded.
Fields§
§original_smiles: Option<String>The candidate’s own SMILES, unchanged, kept separate from anything derived from it.
canonical_smiles: Option<String>§status: NormalizationStatus§issues: Vec<NormalizationIssue>§calculated: CalculatedIdentityProperties§screening_alerts: Vec<String>PAINS/Brenk substructure alert names — screening-only, never a GHS classification or confirmed hazard, never product-level evidence, never blocks release by itself.
Trait Implementations§
Source§impl Clone for ChemicalNormalizationResult
impl Clone for ChemicalNormalizationResult
Source§fn clone(&self) -> ChemicalNormalizationResult
fn clone(&self) -> ChemicalNormalizationResult
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 ChemicalNormalizationResult
impl RefUnwindSafe for ChemicalNormalizationResult
impl Send for ChemicalNormalizationResult
impl Sync for ChemicalNormalizationResult
impl Unpin for ChemicalNormalizationResult
impl UnsafeUnpin for ChemicalNormalizationResult
impl UnwindSafe for ChemicalNormalizationResult
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more