Enum redfish_codegen::models::circuit::PhaseWiringType
source · pub enum PhaseWiringType {
OnePhase3W,
TwoPhase3W,
OneOrTwoPhase3W,
TwoPhase4W,
ThreePhase4W,
ThreePhase5W,
}
Variants§
OnePhase3W
This value shall represent a Single-phase / 3-Wire (Line1, Neutral, Protective Earth) wiring.
TwoPhase3W
This value shall represent a Two-phase / 3-Wire (Line1, Line2, Protective Earth) wiring.
OneOrTwoPhase3W
This value shall represent a Single or Two-Phase / 3-Wire (Line1, Line2 or Neutral, Protective Earth) wiring. This value shall be used when both phase configurations are supported. This is most common where detachable cordsets are used.
TwoPhase4W
This value shall represent a Two-phase / 4-Wire (Line1, Line2, Neutral, Protective Earth) wiring.
ThreePhase4W
This value shall represent a Three-phase / 4-Wire (Line1, Line2, Line3, Protective Earth) wiring.
ThreePhase5W
This value shall represent a Three-phase / 5-Wire (Line1, Line2, Line3, Neutral, Protective Earth) wiring.
Trait Implementations§
source§impl Clone for PhaseWiringType
impl Clone for PhaseWiringType
source§fn clone(&self) -> PhaseWiringType
fn clone(&self) -> PhaseWiringType
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 PhaseWiringType
impl Debug for PhaseWiringType
source§impl Default for PhaseWiringType
impl Default for PhaseWiringType
source§fn default() -> PhaseWiringType
fn default() -> PhaseWiringType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PhaseWiringType
impl<'de> Deserialize<'de> for PhaseWiringType
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