pub enum CtmNetworkShuntItemBs {
Variant0(f64),
Variant1(Vec<f64>),
}Expand description
[MVAr or pu] reactive power demand at v_bus = 1.0 pu, per step of each shunt section
JSON schema
{
"description": "[MVAr or pu] reactive power demand at v_bus = 1.0 pu, per step of each shunt section",
"anyOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for CtmNetworkShuntItemBs
impl Clone for CtmNetworkShuntItemBs
Source§fn clone(&self) -> CtmNetworkShuntItemBs
fn clone(&self) -> CtmNetworkShuntItemBs
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 CtmNetworkShuntItemBs
impl Debug for CtmNetworkShuntItemBs
Source§impl<'de> Deserialize<'de> for CtmNetworkShuntItemBs
impl<'de> Deserialize<'de> for CtmNetworkShuntItemBs
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<&CtmNetworkShuntItemBs> for CtmNetworkShuntItemBs
impl From<&CtmNetworkShuntItemBs> for CtmNetworkShuntItemBs
Source§fn from(value: &CtmNetworkShuntItemBs) -> Self
fn from(value: &CtmNetworkShuntItemBs) -> Self
Converts to this type from the input type.
Source§impl From<f64> for CtmNetworkShuntItemBs
impl From<f64> for CtmNetworkShuntItemBs
Auto Trait Implementations§
impl Freeze for CtmNetworkShuntItemBs
impl RefUnwindSafe for CtmNetworkShuntItemBs
impl Send for CtmNetworkShuntItemBs
impl Sync for CtmNetworkShuntItemBs
impl Unpin for CtmNetworkShuntItemBs
impl UnwindSafe for CtmNetworkShuntItemBs
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)