pub struct ScanSettings {
pub id: String,
pub source_file_refs: Vec<String>,
pub targets: Vec<Vec<Param>>,
pub params: Vec<Param>,
}Expand description
Description of the acquisition settings of the instrument prior to the start of the run
Fields§
§id: StringA unique identifier
source_file_refs: Vec<String>List with the source files containing the acquisition settings
targets: Vec<Vec<Param>>Target list (or ‘inclusion list’) configured prior to the run
params: Vec<Param>The controlled vocabulary and user parameters of the settings
Implementations§
Trait Implementations§
Source§impl Clone for ScanSettings
impl Clone for ScanSettings
Source§fn clone(&self) -> ScanSettings
fn clone(&self) -> ScanSettings
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 ScanSettings
impl Debug for ScanSettings
Source§impl Default for ScanSettings
impl Default for ScanSettings
Source§fn default() -> ScanSettings
fn default() -> ScanSettings
Returns the “default value” for a type. Read more
Source§impl ParamDescribed for ScanSettings
impl ParamDescribed for ScanSettings
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 nameAuto Trait Implementations§
impl Freeze for ScanSettings
impl RefUnwindSafe for ScanSettings
impl Send for ScanSettings
impl Sync for ScanSettings
impl Unpin for ScanSettings
impl UnsafeUnpin for ScanSettings
impl UnwindSafe for ScanSettings
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