pub enum SynchronousMachineKind {
generator,
condenser,
generatorOrCondenser,
motor,
generatorOrMotor,
motorOrCondenser,
generatorOrCondenserOrMotor,
}Expand description
Synchronous machine type.
Variants§
generator
Indicates the synchronous machine can operate as a generator.
condenser
Indicates the synchronous machine can operate as a condenser.
generatorOrCondenser
Indicates the synchronous machine can operate as a generator or as a condenser.
motor
Indicates the synchronous machine can operate as a motor.
generatorOrMotor
Indicates the synchronous machine can operate as a generator or as a motor.
motorOrCondenser
Indicates the synchronous machine can operate as a motor or as a condenser.
generatorOrCondenserOrMotor
Indicates the synchronous machine can operate as a generator or as a condenser or as a motor.
Implementations§
Trait Implementations§
Source§impl Clone for SynchronousMachineKind
impl Clone for SynchronousMachineKind
Source§fn clone(&self) -> SynchronousMachineKind
fn clone(&self) -> SynchronousMachineKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SynchronousMachineKind
impl Debug for SynchronousMachineKind
Source§impl<'de> Deserialize<'de> for SynchronousMachineKind
impl<'de> Deserialize<'de> for SynchronousMachineKind
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
Source§impl PartialEq for SynchronousMachineKind
impl PartialEq for SynchronousMachineKind
Source§impl Serialize for SynchronousMachineKind
impl Serialize for SynchronousMachineKind
impl StructuralPartialEq for SynchronousMachineKind
Auto Trait Implementations§
impl Freeze for SynchronousMachineKind
impl RefUnwindSafe for SynchronousMachineKind
impl Send for SynchronousMachineKind
impl Sync for SynchronousMachineKind
impl Unpin for SynchronousMachineKind
impl UnsafeUnpin for SynchronousMachineKind
impl UnwindSafe for SynchronousMachineKind
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