pub struct Wye {
pub net: Option<Cmv>,
pub neut: Option<Cmv>,
pub phs_a: Option<Cmv>,
pub phs_b: Option<Cmv>,
pub phs_c: Option<Cmv>,
}
Expand description
Phase to ground/neutral related measured values of a three-phase system (WYE)
Fields§
§net: Option<Cmv>
Net current, as the algebraic sum of the instantaneous values of currents flowing through all live conductors and the neutral of a circuit at one point of the electrical installation (‘phsA instCVal’+‘phsB.instCVal’+‘phsC.instCVal’+‘neut.instCVal’).
neut: Option<Cmv>
Value of the measured phase neutral. If a direct measurement of this value is not available, it is acceptable to substitute an estimate computed by creating the algebraic sum of the instantaneous values of currents flowing through all live conductors (‘phsA.instCVal’+‘phsB.instCVal’+‘phsC instCVal’); in that case, ‘neut’=‘res’.
phs_a: Option<Cmv>
Value of phase A.
phs_b: Option<Cmv>
Value of phase B.
phs_c: Option<Cmv>
Value of phase C.
Trait Implementations§
Source§impl Message for Wye
impl Message for Wye
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.impl StructuralPartialEq for Wye
Auto Trait Implementations§
impl Freeze for Wye
impl RefUnwindSafe for Wye
impl Send for Wye
impl Sync for Wye
impl Unpin for Wye
impl UnwindSafe for Wye
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