pub struct ChromatogramDescription {
pub id: String,
pub index: usize,
pub ms_level: Option<u8>,
pub polarity: ScanPolarity,
pub chromatogram_type: ChromatogramType,
pub params: ParamList,
pub precursor: Vec<Precursor>,
pub products: Vec<Product>,
}Expand description
The set of descriptive metadata that give context for how a chromatogram was recorded.
Chromatograms record measures over time, and may be derived from mass spectra or other forms of detectors.
Fields§
§id: StringThe locally unique identifier for this chromatogram
index: usizeThe ordinal index for this chromatogram
ms_level: Option<u8>The MS level, if any, for this chromatogram
polarity: ScanPolarityThe MS polarity, if any, for this chromatogram
chromatogram_type: ChromatogramTypeThe kind of chromatogram this is
params: ParamListAdditional Param that describe this chromatogram
precursor: Vec<Precursor>Any Precursor that describe the derivation of this chromatogram
products: Vec<Product>Any reaction monitoring linked to this chromatogram
Implementations§
Source§impl ChromatogramDescription
impl ChromatogramDescription
Sourcepub fn is_aggregate(&self) -> bool
pub fn is_aggregate(&self) -> bool
Sourcepub fn is_electromagnetic_radiation(&self) -> bool
pub fn is_electromagnetic_radiation(&self) -> bool
Sourcepub fn is_ion_current(&self) -> bool
pub fn is_ion_current(&self) -> bool
Trait Implementations§
Source§impl Clone for ChromatogramDescription
impl Clone for ChromatogramDescription
Source§impl Debug for ChromatogramDescription
impl Debug for ChromatogramDescription
Source§impl Default for ChromatogramDescription
impl Default for ChromatogramDescription
Source§impl ParamDescribed for ChromatogramDescription
impl ParamDescribed for ChromatogramDescription
Source§fn params_mut(&mut self) -> &mut ParamList
fn params_mut(&mut self) -> &mut ParamList
Obtain an mutable slice over the encapsulated
Param listSource§fn extend_params(&mut self, it: impl IntoIterator<Item = Param>)
fn extend_params(&mut self, it: impl IntoIterator<Item = Param>)
Add all parameters from an iterator of
Param to the entitySource§fn get_param_by_name(&self, name: &str) -> Option<&Param>
fn get_param_by_name(&self, name: &str) -> Option<&Param>
Find the first
Param whose name matches nameSource§impl PartialEq for ChromatogramDescription
impl PartialEq for ChromatogramDescription
impl StructuralPartialEq for ChromatogramDescription
Auto Trait Implementations§
impl Freeze for ChromatogramDescription
impl RefUnwindSafe for ChromatogramDescription
impl Send for ChromatogramDescription
impl Sync for ChromatogramDescription
impl Unpin for ChromatogramDescription
impl UnsafeUnpin for ChromatogramDescription
impl UnwindSafe for ChromatogramDescription
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