pub struct GenericExcitationSource {
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>,
pub map: Option<MapType>,
}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>§map: Option<MapType>Implementations§
Source§impl GenericExcitationSource
impl GenericExcitationSource
pub fn default_power_unit() -> UnitsPower
Trait Implementations§
Source§impl Clone for GenericExcitationSource
impl Clone for GenericExcitationSource
Source§fn clone(&self) -> GenericExcitationSource
fn clone(&self) -> GenericExcitationSource
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 GenericExcitationSource
impl Debug for GenericExcitationSource
Source§impl<'de> Deserialize<'de> for GenericExcitationSource
impl<'de> Deserialize<'de> for GenericExcitationSource
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 GenericExcitationSource
impl RefUnwindSafe for GenericExcitationSource
impl Send for GenericExcitationSource
impl Sync for GenericExcitationSource
impl Unpin for GenericExcitationSource
impl UnwindSafe for GenericExcitationSource
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