pub struct Detector {Show 13 fields
pub manufacturer: Option<String>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub lot_number: Option<String>,
pub gain: Option<f32>,
pub voltage: Option<f32>,
pub voltage_unit: UnitsElectricPotential,
pub offset: Option<f32>,
pub zoom: Option<f32>,
pub amplification_gain: Option<f32>,
pub id: String,
pub type: Option<DetectorType>,
pub annotation_ref: Vec<AnnotationRef>,
}Fields§
§manufacturer: Option<String>§model: Option<String>§serial_number: Option<String>§lot_number: Option<String>§gain: Option<f32>§voltage: Option<f32>§voltage_unit: UnitsElectricPotential§offset: Option<f32>§zoom: Option<f32>§amplification_gain: Option<f32>§id: String§type: Option<DetectorType>§annotation_ref: Vec<AnnotationRef>Implementations§
Source§impl Detector
impl Detector
pub fn default_voltage_unit() -> UnitsElectricPotential
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Detector
impl<'de> Deserialize<'de> for Detector
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 Detector
impl RefUnwindSafe for Detector
impl Send for Detector
impl Sync for Detector
impl Unpin for Detector
impl UnwindSafe for Detector
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