pub struct DetectedInstrument {
pub model: Option<&'static str>,
pub family: DeviceFamily,
}Expand description
Detection result carrying the exact model (when found) and the coarse family.
Fields§
§model: Option<&'static str>Exact canonical model name, e.g. “Orbitrap Fusion Lumos”, if detected.
family: DeviceFamilyCoarse device family. Always populated (possibly Unknown).
Implementations§
Trait Implementations§
Source§impl Clone for DetectedInstrument
impl Clone for DetectedInstrument
Source§fn clone(&self) -> DetectedInstrument
fn clone(&self) -> DetectedInstrument
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 moreAuto Trait Implementations§
impl Freeze for DetectedInstrument
impl RefUnwindSafe for DetectedInstrument
impl Send for DetectedInstrument
impl Sync for DetectedInstrument
impl Unpin for DetectedInstrument
impl UnsafeUnpin for DetectedInstrument
impl UnwindSafe for DetectedInstrument
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