pub struct IncompleteMachine {
pub bus: u32,
pub machine_id: String,
pub has_exciter: bool,
pub has_governor: bool,
pub has_pss: bool,
}Expand description
A generator with an incomplete dynamic model representation.
Fields§
§bus: u32Bus number.
machine_id: StringMachine ID.
has_exciter: boolWhether an exciter model was found.
has_governor: boolWhether a governor model was found.
has_pss: boolWhether a PSS model was found.
Trait Implementations§
Source§impl Clone for IncompleteMachine
impl Clone for IncompleteMachine
Source§fn clone(&self) -> IncompleteMachine
fn clone(&self) -> IncompleteMachine
Returns a duplicate 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 IncompleteMachine
impl Debug for IncompleteMachine
Source§impl<'de> Deserialize<'de> for IncompleteMachine
impl<'de> Deserialize<'de> for IncompleteMachine
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
Auto Trait Implementations§
impl Freeze for IncompleteMachine
impl RefUnwindSafe for IncompleteMachine
impl Send for IncompleteMachine
impl Sync for IncompleteMachine
impl Unpin for IncompleteMachine
impl UnsafeUnpin for IncompleteMachine
impl UnwindSafe for IncompleteMachine
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