pub struct BatchMetadata {
pub title: Option<String>,
pub description: Option<String>,
pub operator: Option<String>,
pub date: Option<String>,
pub instrument: Option<Instrument>,
pub measurement_conditions: Option<MeasurementConditions>,
}Expand description
Optional metadata common to all spectra in a batch file.
Fields§
§title: Option<String>§description: Option<String>§operator: Option<String>§date: Option<String>§instrument: Option<Instrument>§measurement_conditions: Option<MeasurementConditions>Trait Implementations§
Source§impl Clone for BatchMetadata
impl Clone for BatchMetadata
Source§fn clone(&self) -> BatchMetadata
fn clone(&self) -> BatchMetadata
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 BatchMetadata
impl Debug for BatchMetadata
Source§impl<'de> Deserialize<'de> for BatchMetadata
impl<'de> Deserialize<'de> for BatchMetadata
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
Auto Trait Implementations§
impl Freeze for BatchMetadata
impl RefUnwindSafe for BatchMetadata
impl Send for BatchMetadata
impl Sync for BatchMetadata
impl Unpin for BatchMetadata
impl UnsafeUnpin for BatchMetadata
impl UnwindSafe for BatchMetadata
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