pub enum ChromatogramType {
Unknown,
TotalIonCurrentChromatogram,
BasePeakChromatogram,
SelectedIonCurrentChromatogram,
SelectedIonMonitoringChromatogram,
SelectedReactionMonitoringChromatogram,
AbsorptionChromatogram,
EmissionChromatogram,
FlowRateChromatogram,
PressureChromatogram,
TemperatureChromatogram,
ElectromagneticRadiationChromatogram,
}Expand description
Types of chromatograms enumerated in the PSI-MS controlled vocabulary
Variants§
Unknown
TotalIonCurrentChromatogram
The sum of all intensity at each time point
BasePeakChromatogram
The most intense peak at each time point
SelectedIonCurrentChromatogram
The intensity of selected ion at each time point
SelectedIonMonitoringChromatogram
The intensity of selected ion at each time point
SelectedReactionMonitoringChromatogram
The intensity of selected ion and its products at each time point
AbsorptionChromatogram
EmissionChromatogram
FlowRateChromatogram
The flow rate at each time point
PressureChromatogram
The pressure at each time point
TemperatureChromatogram
The temperature of an element at each time point
ElectromagneticRadiationChromatogram
The intensity of the signal for a specific wavelength of EMR at each time point
Implementations§
Source§impl ChromatogramType
impl ChromatogramType
Sourcepub fn from_accession(accession: u32) -> Option<ChromatogramType>
pub fn from_accession(accession: u32) -> Option<ChromatogramType>
Construct a ChromatogramType from a PSI-MS controlled vocabulary ID
Sourcepub fn from_curie(curie: CURIE) -> Option<ChromatogramType>
pub fn from_curie(curie: CURIE) -> Option<ChromatogramType>
Construct a ChromatogramType from a PSI-MS controlled vocabulary CURIE
Sourcepub fn is_electromagnetic_radiation(&self) -> bool
pub fn is_electromagnetic_radiation(&self) -> bool
Test if the chromatogram is a measure of EMR
Sourcepub fn is_aggregate(&self) -> bool
pub fn is_aggregate(&self) -> bool
Test if the chromatogram is an aggregation across multiple elements, specifically
Self::TotalIonCurrentChromatogram or Self::BasePeakChromatogram
Sourcepub fn is_ion_current(&self) -> bool
pub fn is_ion_current(&self) -> bool
Test if the chromatogram tracks an ionization process
Sourcepub fn to_curie(&self) -> CURIE
pub fn to_curie(&self) -> CURIE
Convert this ChromatogramType to a CURIE
Trait Implementations§
Source§impl Clone for ChromatogramType
impl Clone for ChromatogramType
Source§fn clone(&self) -> ChromatogramType
fn clone(&self) -> ChromatogramType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ChromatogramType
Source§impl Debug for ChromatogramType
impl Debug for ChromatogramType
Source§impl Default for ChromatogramType
impl Default for ChromatogramType
Source§fn default() -> ChromatogramType
fn default() -> ChromatogramType
Source§impl<'de> Deserialize<'de> for ChromatogramType
impl<'de> Deserialize<'de> for ChromatogramType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChromatogramType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChromatogramType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ChromatogramType
Source§impl Hash for ChromatogramType
impl Hash for ChromatogramType
Source§impl Ord for ChromatogramType
impl Ord for ChromatogramType
Source§fn cmp(&self, other: &ChromatogramType) -> Ordering
fn cmp(&self, other: &ChromatogramType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ChromatogramType
impl PartialEq for ChromatogramType
Source§impl PartialOrd for ChromatogramType
impl PartialOrd for ChromatogramType
Source§impl Serialize for ChromatogramType
impl Serialize for ChromatogramType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ChromatogramType
Auto Trait Implementations§
impl Freeze for ChromatogramType
impl RefUnwindSafe for ChromatogramType
impl Send for ChromatogramType
impl Sync for ChromatogramType
impl Unpin for ChromatogramType
impl UnsafeUnpin for ChromatogramType
impl UnwindSafe for ChromatogramType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.