#[non_exhaustive]pub struct McOpfTerminal {
pub bus: String,
pub terminal: String,
pub grounded: bool,
pub fixed: Option<[f64; 2]>,
pub start: [f64; 2],
}Expand description
A source terminal in canonical bus/terminal order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bus: StringCanonical bus name.
terminal: StringCanonical terminal label within the bus.
grounded: boolTrue for an explicit physical ground.
fixed: Option<[f64; 2]>Prescribed rectangular [real, imaginary] voltage in per unit, when fixed.
start: [f64; 2]Rectangular per-unit voltage seed; not an additional physical reference.
Trait Implementations§
Source§impl Clone for McOpfTerminal
impl Clone for McOpfTerminal
Source§impl Debug for McOpfTerminal
impl Debug for McOpfTerminal
Source§impl<'de> Deserialize<'de> for McOpfTerminal
impl<'de> Deserialize<'de> for McOpfTerminal
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 McOpfTerminal
impl RefUnwindSafe for McOpfTerminal
impl Send for McOpfTerminal
impl Sync for McOpfTerminal
impl Unpin for McOpfTerminal
impl UnsafeUnpin for McOpfTerminal
impl UnwindSafe for McOpfTerminal
Blanket Implementations§
impl<T> Allocation for T
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