pub struct PowerThresholdStruct {
pub power_threshold: Option<i32>,
pub apparent_power_threshold: Option<i32>,
pub power_threshold_source: Nullable<PowerThresholdSourceEnum>,
}Expand description
PowerThresholdStruct.
Fields§
§power_threshold: Option<i32>PowerThreshold, field 0.
apparent_power_threshold: Option<i32>ApparentPowerThreshold, field 1.
power_threshold_source: Nullable<PowerThresholdSourceEnum>PowerThresholdSource, field 2.
Trait Implementations§
Source§impl Clone for PowerThresholdStruct
impl Clone for PowerThresholdStruct
Source§fn clone(&self) -> PowerThresholdStruct
fn clone(&self) -> PowerThresholdStruct
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PowerThresholdStruct
Source§impl Debug for PowerThresholdStruct
impl Debug for PowerThresholdStruct
Source§impl<'a> FromTlv<'a> for PowerThresholdStruct
impl<'a> FromTlv<'a> for PowerThresholdStruct
Source§impl PartialEq for PowerThresholdStruct
impl PartialEq for PowerThresholdStruct
impl StructuralPartialEq for PowerThresholdStruct
Auto Trait Implementations§
impl Freeze for PowerThresholdStruct
impl RefUnwindSafe for PowerThresholdStruct
impl Send for PowerThresholdStruct
impl Sync for PowerThresholdStruct
impl Unpin for PowerThresholdStruct
impl UnsafeUnpin for PowerThresholdStruct
impl UnwindSafe for PowerThresholdStruct
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