pub enum CtmNetworkShuntItemGs {
Variant0(NonnegativeNumber),
Variant1(Vec<NonnegativeNumber>),
}Expand description
[MW or pu] active power demand at v_bus = 1.0 pu, per step of each shunt section
JSON schema
{
"description": "[MW or pu] active power demand at v_bus = 1.0 pu, per step of each shunt section",
"anyOf": [
{
"$ref": "#/$defs/nonnegative_number"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/nonnegative_number"
}
}
]
}Variants§
Variant0(NonnegativeNumber)
Variant1(Vec<NonnegativeNumber>)
Trait Implementations§
Source§impl Clone for CtmNetworkShuntItemGs
impl Clone for CtmNetworkShuntItemGs
Source§fn clone(&self) -> CtmNetworkShuntItemGs
fn clone(&self) -> CtmNetworkShuntItemGs
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CtmNetworkShuntItemGs
impl Debug for CtmNetworkShuntItemGs
Source§impl<'de> Deserialize<'de> for CtmNetworkShuntItemGs
impl<'de> Deserialize<'de> for CtmNetworkShuntItemGs
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 From<&CtmNetworkShuntItemGs> for CtmNetworkShuntItemGs
impl From<&CtmNetworkShuntItemGs> for CtmNetworkShuntItemGs
Source§fn from(value: &CtmNetworkShuntItemGs) -> Self
fn from(value: &CtmNetworkShuntItemGs) -> Self
Converts to this type from the input type.
Source§impl From<NonnegativeNumber> for CtmNetworkShuntItemGs
impl From<NonnegativeNumber> for CtmNetworkShuntItemGs
Source§fn from(value: NonnegativeNumber) -> Self
fn from(value: NonnegativeNumber) -> Self
Converts to this type from the input type.
Source§impl From<Vec<NonnegativeNumber>> for CtmNetworkShuntItemGs
impl From<Vec<NonnegativeNumber>> for CtmNetworkShuntItemGs
Source§fn from(value: Vec<NonnegativeNumber>) -> Self
fn from(value: Vec<NonnegativeNumber>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CtmNetworkShuntItemGs
impl RefUnwindSafe for CtmNetworkShuntItemGs
impl Send for CtmNetworkShuntItemGs
impl Sync for CtmNetworkShuntItemGs
impl Unpin for CtmNetworkShuntItemGs
impl UnwindSafe for CtmNetworkShuntItemGs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)