Enum CompoundProperty

Source
pub enum CompoundProperty {
Show 41 variants MolecularFormula, MolecularWeight, CanonicalSMILES, IsomericSMILES, InChI, InChIKey, IUPACName, Title, XLogP, ExactMass, MonoisotopicMass, TPSA, Complexity, Charge, HBondDonorCount, HBondAcceptorCount, RotatableBondCount, HeavyAtomCount, IsotopeAtomCount, AtomStereoCount, DefinedAtomStereoCount, UndefinedAtomStereoCount, BondStereoCount, DefinedBondStereoCount, UndefinedBondStereoCount, CovalentUnitCount, Volume3D, XStericQuadrupole3D, YStericQuadrupole3D, ZStericQuadrupole3D, FeatureCount3D, FeatureAcceptorCount3D, FeatureDonorCount3D, FeatureAnionCount3D, FeatureCationCount3D, FeatureRingCount3D, FeatureHydrophobeCount3D, ConformerModelRMSD3D, EffectiveRotorCount3D, ConformerCount3D, Fingerprint2D,
}
Expand description

A single property that can be retrieved from a compound.

Variants§

§

MolecularFormula

Molecular formula.

§

MolecularWeight

The molecular weight is the sum of all atomic weights of the constituent atoms in a compound, measured in g/mol. In the absence of explicit isotope labelling, averaged natural abundance is assumed. If an atom bears an explicit isotope label, 100% isotopic purity is assumed at this location.

§

CanonicalSMILES

Canonical SMILES (Simplified Molecular Input Line Entry System) string. It is a unique SMILES string of a compound, generated by a “canonicalization” algorithm.

§

IsomericSMILES

Isomeric SMILES string. It is a SMILES string with stereochemical and isotopic specifications.

§

InChI

Standard IUPAC International Chemical Identifier (InChI). It does not allow for user selectable options in dealing with the stereochemistry and tautomer layers of the InChI string.

§

InChIKey

Hashed version of the full standard InChI, consisting of 27 characters.

§

IUPACName

Chemical name systematically determined according to the IUPAC nomenclatures.

§

Title

The title used for the compound summary page.

§

XLogP

Computationally generated octanol-water partition coefficient or distribution coefficient. XLogP is used as a measure of hydrophilicity or hydrophobicity of a molecule.

§

ExactMass

The mass of the most likely isotopic composition for a single molecule, corresponding to the most intense ion/molecule peak in a mass spectrum.

§

MonoisotopicMass

The mass of a molecule, calculated using the mass of the most abundant isotope of each element.

§

TPSA

Topological polar surface area, computed by the algorithm described in the paper by Ertl et al.

§

Complexity

The molecular complexity rating of a compound, computed using the Bertz/Hendrickson/Ihlenfeldt formula.

§

Charge

The total (or net) charge of a molecule.

§

HBondDonorCount

Number of hydrogen-bond donors in the structure.

§

HBondAcceptorCount

Number of hydrogen-bond acceptors in the structure.

§

RotatableBondCount

Number of rotatable bonds.

§

HeavyAtomCount

Number of non-hydrogen atoms.

§

IsotopeAtomCount

Number of atoms with enriched isotope(s)

§

AtomStereoCount

Total number of atoms with tetrahedral (sp3) stereo [e.g., (R)- or (S)-configuration]

§

DefinedAtomStereoCount

Number of atoms with defined tetrahedral (sp3) stereo.

§

UndefinedAtomStereoCount

Number of atoms with undefined tetrahedral (sp3) stereo.

§

BondStereoCount

Total number of bonds with planar (sp2) stereo [e.g., (E)- or (Z)-configuration].

§

DefinedBondStereoCount

Number of atoms with defined planar (sp2) stereo.

§

UndefinedBondStereoCount

Number of atoms with undefined planar (sp2) stereo.

§

CovalentUnitCount

Number of covalently bound units.

§

Volume3D

Analytic volume of the first diverse conformer (default conformer) for a compound.

§

XStericQuadrupole3D

The x component of the quadrupole moment (Qx) of the first diverse conformer (default conformer) for a compound.

§

YStericQuadrupole3D

The y component of the quadrupole moment (Qy) of the first diverse conformer (default conformer) for a compound.

§

ZStericQuadrupole3D

The z component of the quadrupole moment (Qz) of the first diverse conformer (default conformer) for a compound.

§

FeatureCount3D

Total number of 3D features (the sum of FeatureAcceptorCount3D, FeatureDonorCount3D, FeatureAnionCount3D, FeatureCationCount3D, FeatureRingCount3D and FeatureHydrophobeCount3D)

§

FeatureAcceptorCount3D

Number of hydrogen-bond acceptors of a conformer.

§

FeatureDonorCount3D

Number of hydrogen-bond donors of a conformer.

§

FeatureAnionCount3D

Number of anionic centers (at pH 7) of a conformer.

§

FeatureCationCount3D

Number of cationic centers (at pH 7) of a conformer.

§

FeatureRingCount3D

Number of rings of a conformer.

§

FeatureHydrophobeCount3D

Number of hydrophobes of a conformer.

§

ConformerModelRMSD3D

Conformer sampling RMSD in Å.

§

EffectiveRotorCount3D

Total number of 3D features (the sum of FeatureAcceptorCount3D, FeatureDonorCount3D, FeatureAnionCount3D, FeatureCationCount3D, FeatureRingCount3D and FeatureHydrophobeCount3D)

§

ConformerCount3D

The number of conformers in the conformer model for a compound.

§

Fingerprint2D

Base64-encoded PubChem Substructure Fingerprint of a molecule.

Implementations§

Source§

impl CompoundProperty

Source

pub fn name(&self) -> &'static str

Get the name of the enum variant.

Trait Implementations§

Source§

impl Debug for CompoundProperty

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for CompoundProperty

Source§

fn eq(&self, other: &CompoundProperty) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for CompoundProperty

Source§

impl StructuralPartialEq for CompoundProperty

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,