pub struct PrecursorInfo {
pub target_mz: Option<f64>,
pub selected_mz: Option<f64>,
pub isolation_width: Option<f64>,
pub charge: Option<i32>,
pub intensity: Option<f64>,
pub collision_energy: Option<f64>,
pub ce_is_nce: bool,
pub precursor_native_id: Option<String>,
pub activation: Option<Activation>,
pub analyzer: Option<Analyzer>,
}Expand description
Precursor metadata for an MS2+ spectrum.
Fields§
§target_mz: Option<f64>Isolation-window center m/z (target).
selected_mz: Option<f64>Monoisotopic-resolved precursor m/z (selected ion).
isolation_width: Option<f64>Total isolation width in m/z. The mzML writer splits this into
symmetric lower/upper offsets around target_mz.
charge: Option<i32>§intensity: Option<f64>Precursor intensity (when known).
collision_energy: Option<f64>Collision energy. Interpretation depends on ce_is_nce.
ce_is_nce: booltrue if collision_energy is normalized (NCE %); false for eV.
precursor_native_id: Option<String>Native ID of the precursor scan when known. Vendors should populate
this with the same string they will use as the native_id for that
MS1 spectrum, so mzML spectrumRef lookups round-trip cleanly.
activation: Option<Activation>§analyzer: Option<Analyzer>Analyzer that recorded the precursor scan; needed by mzML to disambiguate CID vs beam-type CID on FTMS instruments.
Trait Implementations§
Source§impl Clone for PrecursorInfo
impl Clone for PrecursorInfo
Source§fn clone(&self) -> PrecursorInfo
fn clone(&self) -> PrecursorInfo
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 moreSource§impl Debug for PrecursorInfo
impl Debug for PrecursorInfo
Source§impl Default for PrecursorInfo
impl Default for PrecursorInfo
Source§fn default() -> PrecursorInfo
fn default() -> PrecursorInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PrecursorInfo
impl RefUnwindSafe for PrecursorInfo
impl Send for PrecursorInfo
impl Sync for PrecursorInfo
impl Unpin for PrecursorInfo
impl UnsafeUnpin for PrecursorInfo
impl UnwindSafe for PrecursorInfo
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