#[non_exhaustive]pub struct DistBus {
pub id: String,
pub terminals: Vec<String>,
pub grounded: Vec<String>,
pub v_min: Option<f64>,
pub v_max: Option<f64>,
pub vpn_min: Option<Vec<f64>>,
pub vpn_max: Option<Vec<f64>>,
pub vpp_min: Option<Vec<f64>>,
pub vpp_max: Option<Vec<f64>>,
pub vsym_min: Option<Vec<f64>>,
pub vsym_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.id: String§terminals: Vec<String>Ordered terminal names; OpenDSS node numbers as strings.
grounded: Vec<String>Terminals tied to ground with zero impedance.
v_min: Option<f64>Voltage magnitude bounds, volts: the scalar pair plus the phase to neutral, phase to phase, and symmetrical component families (the four BMOPF bound families).
v_max: Option<f64>§vpn_min: Option<Vec<f64>>§vpn_max: Option<Vec<f64>>§vpp_min: Option<Vec<f64>>§vpp_max: Option<Vec<f64>>§vsym_min: Option<Vec<f64>>§vsym_max: Option<Vec<f64>>§extras: ExtrasImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DistBus
impl<'de> Deserialize<'de> for DistBus
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
impl StructuralPartialEq for DistBus
Auto Trait Implementations§
impl Freeze for DistBus
impl RefUnwindSafe for DistBus
impl Send for DistBus
impl Sync for DistBus
impl Unpin for DistBus
impl UnsafeUnpin for DistBus
impl UnwindSafe for DistBus
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