#[non_exhaustive]pub struct DistSwitch {
pub name: String,
pub bus_from: String,
pub bus_to: String,
pub terminal_map_from: Vec<String>,
pub terminal_map_to: Vec<String>,
pub open: bool,
pub i_max: Option<Vec<f64>>,
pub extras: Extras,
}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.name: String§bus_from: String§bus_to: String§terminal_map_from: Vec<String>§terminal_map_to: Vec<String>§open: bool§i_max: Option<Vec<f64>>§extras: ExtrasImplementations§
Trait Implementations§
Source§impl Clone for DistSwitch
impl Clone for DistSwitch
Source§fn clone(&self) -> DistSwitch
fn clone(&self) -> DistSwitch
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 DistSwitch
impl Debug for DistSwitch
Source§impl<'de> Deserialize<'de> for DistSwitch
impl<'de> Deserialize<'de> for DistSwitch
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 DistSwitch
impl PartialEq for DistSwitch
Source§impl Serialize for DistSwitch
impl Serialize for DistSwitch
impl StructuralPartialEq for DistSwitch
Auto Trait Implementations§
impl Freeze for DistSwitch
impl RefUnwindSafe for DistSwitch
impl Send for DistSwitch
impl Sync for DistSwitch
impl Unpin for DistSwitch
impl UnsafeUnpin for DistSwitch
impl UnwindSafe for DistSwitch
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