pub enum PhaseMode {
Single,
Three,
}Expand description
Which conductors an asset is using right now.
The wiring is PhaseConnection; this is the state a switchable device is
in at this moment. They are different questions, and answering the second
with the first is how an eleven-kilowatt wallbox ends up capped at the
4,6 kVA a single-phase device is allowed.
Variants§
Single
One outer conductor. A charge point here draws a third of the power and has a third of the minimum — 1,4 kW instead of 4,1 kW — which is the whole reason switching is worth the contactor.
Three
All three, symmetrically.
Implementations§
Trait Implementations§
impl Copy for PhaseMode
Source§impl<'de> Deserialize<'de> for PhaseMode
impl<'de> Deserialize<'de> for PhaseMode
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
impl Eq for PhaseMode
Source§impl Ord for PhaseMode
impl Ord for PhaseMode
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 PartialOrd for PhaseMode
impl PartialOrd for PhaseMode
impl StructuralPartialEq for PhaseMode
Auto Trait Implementations§
impl Freeze for PhaseMode
impl RefUnwindSafe for PhaseMode
impl Send for PhaseMode
impl Sync for PhaseMode
impl Unpin for PhaseMode
impl UnsafeUnpin for PhaseMode
impl UnwindSafe for PhaseMode
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