pub struct Laser {Show 19 fields
pub manufacturer: Option<String>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub lot_number: Option<String>,
pub id: String,
pub power: Option<f32>,
pub power_unit: UnitsPower,
pub type: Option<LaserType>,
pub laser_medium: Option<LaserLaserMediumType>,
pub wavelength: Option<f32>,
pub wavelength_unit: UnitsLength,
pub frequency_multiplication: Option<i32>,
pub tuneable: Option<bool>,
pub pulse: Option<LaserPulseType>,
pub pockel_cell: Option<bool>,
pub repetition_rate: Option<f32>,
pub repetition_rate_unit: UnitsFrequency,
pub annotation_ref: Vec<AnnotationRef>,
pub pump: Option<AnnotationRef>,
}Fields§
§manufacturer: Option<String>§model: Option<String>§serial_number: Option<String>§lot_number: Option<String>§id: String§power: Option<f32>§power_unit: UnitsPower§type: Option<LaserType>§laser_medium: Option<LaserLaserMediumType>§wavelength: Option<f32>§wavelength_unit: UnitsLength§frequency_multiplication: Option<i32>§tuneable: Option<bool>§pulse: Option<LaserPulseType>§pockel_cell: Option<bool>§repetition_rate: Option<f32>§repetition_rate_unit: UnitsFrequency§annotation_ref: Vec<AnnotationRef>§pump: Option<AnnotationRef>Implementations§
Source§impl Laser
impl Laser
pub fn default_power_unit() -> UnitsPower
pub fn default_wavelength_unit() -> UnitsLength
pub fn default_repetition_rate_unit() -> UnitsFrequency
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Laser
impl<'de> Deserialize<'de> for Laser
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 Laser
impl RefUnwindSafe for Laser
impl Send for Laser
impl Sync for Laser
impl Unpin for Laser
impl UnwindSafe for Laser
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