#[repr(u8)]pub enum PowerThresholdSourceEnum {
Contract = 0,
Regulator = 1,
Equipment = 2,
}Expand description
PowerThresholdSourceEnum.
Variants§
Contract = 0
The power threshold comes from a signed contract
Regulator = 1
The power threshold comes from a legal regulator
Equipment = 2
The power threshold comes from a certified limits of the meter
Implementations§
Trait Implementations§
Source§impl Clone for PowerThresholdSourceEnum
impl Clone for PowerThresholdSourceEnum
impl Copy for PowerThresholdSourceEnum
Source§impl Debug for PowerThresholdSourceEnum
impl Debug for PowerThresholdSourceEnum
impl Eq for PowerThresholdSourceEnum
Source§impl<'a> FromTlv<'a> for PowerThresholdSourceEnum
impl<'a> FromTlv<'a> for PowerThresholdSourceEnum
Source§impl Hash for PowerThresholdSourceEnum
impl Hash for PowerThresholdSourceEnum
Source§impl Ord for PowerThresholdSourceEnum
impl Ord for PowerThresholdSourceEnum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PowerThresholdSourceEnum
impl PartialEq for PowerThresholdSourceEnum
Source§impl PartialOrd for PowerThresholdSourceEnum
impl PartialOrd for PowerThresholdSourceEnum
impl StructuralPartialEq for PowerThresholdSourceEnum
Auto Trait Implementations§
impl Forget for PowerThresholdSourceEnum
impl Freeze for PowerThresholdSourceEnum
impl Move for PowerThresholdSourceEnum
impl RefUnwindSafe for PowerThresholdSourceEnum
impl Send for PowerThresholdSourceEnum
impl Sync for PowerThresholdSourceEnum
impl Unpin for PowerThresholdSourceEnum
impl UnsafeUnpin for PowerThresholdSourceEnum
impl UnwindSafe for PowerThresholdSourceEnum
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