pub struct DetectorSettings {
pub id: String,
pub offset: Option<f32>,
pub gain: Option<f32>,
pub voltage: Option<f32>,
pub voltage_unit: UnitsElectricPotential,
pub zoom: Option<f32>,
pub read_out_rate: Option<f32>,
pub read_out_rate_unit: UnitsFrequency,
pub binning: Option<BinningType>,
pub integration: Option<i32>,
}Fields§
§id: String§offset: Option<f32>§gain: Option<f32>§voltage: Option<f32>§voltage_unit: UnitsElectricPotential§zoom: Option<f32>§read_out_rate: Option<f32>§read_out_rate_unit: UnitsFrequency§binning: Option<BinningType>§integration: Option<i32>Implementations§
Source§impl DetectorSettings
impl DetectorSettings
pub fn default_voltage_unit() -> UnitsElectricPotential
pub fn default_read_out_rate_unit() -> UnitsFrequency
Trait Implementations§
Source§impl Clone for DetectorSettings
impl Clone for DetectorSettings
Source§fn clone(&self) -> DetectorSettings
fn clone(&self) -> DetectorSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 DetectorSettings
impl Debug for DetectorSettings
Source§impl<'de> Deserialize<'de> for DetectorSettings
impl<'de> Deserialize<'de> for DetectorSettings
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 DetectorSettings
impl RefUnwindSafe for DetectorSettings
impl Send for DetectorSettings
impl Sync for DetectorSettings
impl Unpin for DetectorSettings
impl UnwindSafe for DetectorSettings
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