pub struct LightEmittingDiode {
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 annotation_ref: Vec<AnnotationRef>,
}Fields§
§manufacturer: Option<String>§model: Option<String>§serial_number: Option<String>§lot_number: Option<String>§id: String§power: Option<f32>§power_unit: UnitsPower§annotation_ref: Vec<AnnotationRef>Implementations§
Source§impl LightEmittingDiode
impl LightEmittingDiode
pub fn default_power_unit() -> UnitsPower
Trait Implementations§
Source§impl Clone for LightEmittingDiode
impl Clone for LightEmittingDiode
Source§fn clone(&self) -> LightEmittingDiode
fn clone(&self) -> LightEmittingDiode
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 LightEmittingDiode
impl Debug for LightEmittingDiode
Source§impl<'de> Deserialize<'de> for LightEmittingDiode
impl<'de> Deserialize<'de> for LightEmittingDiode
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 LightEmittingDiode
impl RefUnwindSafe for LightEmittingDiode
impl Send for LightEmittingDiode
impl Sync for LightEmittingDiode
impl Unpin for LightEmittingDiode
impl UnwindSafe for LightEmittingDiode
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