pub struct Compound {Show 13 fields
pub name: String,
pub mz: Option<f64>,
pub q1: Option<f64>,
pub q3: Option<f64>,
pub rt_min: Option<f64>,
pub rt_window_min: Option<f64>,
pub ppm: Option<f64>,
pub da: Option<f64>,
pub polarity: Option<Polarity>,
pub ms_level: Option<u32>,
pub precursor_mz: Option<f64>,
pub trace: Option<u32>,
pub channel: Option<u32>,
}Expand description
One compound of a targeted method.
Fields§
§name: StringName, reported in the results.
mz: Option<f64>XIC m/z (with precursor_mz: a product ion in MS/MS scans).
q1: Option<f64>SRM/MRM precursor (Q1) m/z.
q3: Option<f64>SRM/MRM product (Q3) m/z.
rt_min: Option<f64>Expected retention time, minutes (absent: the largest peak of the chromatogram).
rt_window_min: Option<f64>Half-width of the retention-time window, minutes.
ppm: Option<f64>XIC tolerance, ppm.
da: Option<f64>XIC tolerance, Da (instead of ppm).
polarity: Option<Polarity>Scan polarity.
ms_level: Option<u32>MS level of the scans.
precursor_mz: Option<f64>Precursor m/z of the MS/MS scans (product-ion XIC).
trace: Option<u32>Detector trace index (for UV, FID, … quantitation).
channel: Option<u32>Channel of that trace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Compound
impl<'de> Deserialize<'de> for Compound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Compound
impl JsonSchema for Compound
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Compound
Auto Trait Implementations§
impl Freeze for Compound
impl RefUnwindSafe for Compound
impl Send for Compound
impl Sync for Compound
impl Unpin for Compound
impl UnsafeUnpin for Compound
impl UnwindSafe for Compound
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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