#[repr(i32)]pub enum PfSignKind {
Undefined = 0,
Iec = 1,
Eei = 2,
}
Expand description
Power factor sign (PFSignKind enumeration)
Variants§
Undefined = 0
Undefined enum value which can be used for Protobuf generation and be consistent with other technologies.
Iec = 1
All analogue values are [F(t+T)-F(t)] for a calculation interval T (in the same unit as the original entity). Note: The client can still calculate rate so: RATE = DIFF/T.
Eei = 2
All analogue values (i.e., all common attributes ‘i’ and ‘f’) meet the sampling and filtering characteristics specified in IEEE C37.118.1 for M-CLASS.
Implementations§
Trait Implementations§
Source§impl Clone for PfSignKind
impl Clone for PfSignKind
Source§fn clone(&self) -> PfSignKind
fn clone(&self) -> PfSignKind
Returns a copy 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 PfSignKind
impl Debug for PfSignKind
Source§impl Default for PfSignKind
impl Default for PfSignKind
Source§fn default() -> PfSignKind
fn default() -> PfSignKind
Returns the “default value” for a type. Read more
Source§impl From<PfSignKind> for i32
impl From<PfSignKind> for i32
Source§fn from(value: PfSignKind) -> i32
fn from(value: PfSignKind) -> i32
Converts to this type from the input type.
Source§impl Hash for PfSignKind
impl Hash for PfSignKind
Source§impl Ord for PfSignKind
impl Ord for PfSignKind
Source§fn cmp(&self, other: &PfSignKind) -> Ordering
fn cmp(&self, other: &PfSignKind) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PfSignKind
impl PartialEq for PfSignKind
Source§impl PartialOrd for PfSignKind
impl PartialOrd for PfSignKind
impl Copy for PfSignKind
impl Eq for PfSignKind
impl StructuralPartialEq for PfSignKind
Auto Trait Implementations§
impl Freeze for PfSignKind
impl RefUnwindSafe for PfSignKind
impl Send for PfSignKind
impl Sync for PfSignKind
impl Unpin for PfSignKind
impl UnwindSafe for PfSignKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)