#[non_exhaustive]pub struct DistIbr {Show 15 fields
pub name: String,
pub bus: String,
pub terminal_map: Vec<String>,
pub topology: IbrTopology,
pub prime_mover: IbrPrimeMover,
pub s_max: Vec<f64>,
pub i_max: Option<Vec<f64>>,
pub p_avail: Option<f64>,
pub p_min: Option<Vec<f64>>,
pub p_max: Option<Vec<f64>>,
pub q_min: Option<Vec<f64>>,
pub q_max: Option<Vec<f64>>,
pub control_profile: Option<String>,
pub voltage_aggregation: Option<IbrVoltageAggregation>,
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: String§terminal_map: Vec<String>§topology: IbrTopology§prime_mover: IbrPrimeMover§s_max: Vec<f64>Per phase apparent power nameplate ratings, volt amperes.
i_max: Option<Vec<f64>>Per conductor current limits, amperes.
p_avail: Option<f64>Available active power, watts.
p_min: Option<Vec<f64>>§p_max: Option<Vec<f64>>§q_min: Option<Vec<f64>>§q_max: Option<Vec<f64>>§control_profile: Option<String>§voltage_aggregation: Option<IbrVoltageAggregation>§extras: ExtrasImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DistIbr
impl<'de> Deserialize<'de> for DistIbr
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 JsonSchema for DistIbr
impl JsonSchema for DistIbr
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for DistIbr
Auto Trait Implementations§
impl Freeze for DistIbr
impl RefUnwindSafe for DistIbr
impl Send for DistIbr
impl Sync for DistIbr
impl Unpin for DistIbr
impl UnsafeUnpin for DistIbr
impl UnwindSafe for DistIbr
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