pub enum CtmNetworkShuntItemNumStepsUb {
Variant0(NonnegativeInteger),
Variant1(Vec<NonnegativeInteger>),
}Expand description
upper bound for number of energized steps of shunt section (lower bound is always 0)
JSON schema
{
"description": "upper bound for number of energized steps of shunt section (lower bound is always 0)",
"anyOf": [
{
"$ref": "#/$defs/nonnegative_integer"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/nonnegative_integer"
}
}
]
}Variants§
Variant0(NonnegativeInteger)
Variant1(Vec<NonnegativeInteger>)
Trait Implementations§
Source§impl Clone for CtmNetworkShuntItemNumStepsUb
impl Clone for CtmNetworkShuntItemNumStepsUb
Source§fn clone(&self) -> CtmNetworkShuntItemNumStepsUb
fn clone(&self) -> CtmNetworkShuntItemNumStepsUb
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<'de> Deserialize<'de> for CtmNetworkShuntItemNumStepsUb
impl<'de> Deserialize<'de> for CtmNetworkShuntItemNumStepsUb
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<&CtmNetworkShuntItemNumStepsUb> for CtmNetworkShuntItemNumStepsUb
impl From<&CtmNetworkShuntItemNumStepsUb> for CtmNetworkShuntItemNumStepsUb
Source§fn from(value: &CtmNetworkShuntItemNumStepsUb) -> Self
fn from(value: &CtmNetworkShuntItemNumStepsUb) -> Self
Converts to this type from the input type.
Source§impl From<NonnegativeInteger> for CtmNetworkShuntItemNumStepsUb
impl From<NonnegativeInteger> for CtmNetworkShuntItemNumStepsUb
Source§fn from(value: NonnegativeInteger) -> Self
fn from(value: NonnegativeInteger) -> Self
Converts to this type from the input type.
Source§impl From<Vec<NonnegativeInteger>> for CtmNetworkShuntItemNumStepsUb
impl From<Vec<NonnegativeInteger>> for CtmNetworkShuntItemNumStepsUb
Source§fn from(value: Vec<NonnegativeInteger>) -> Self
fn from(value: Vec<NonnegativeInteger>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CtmNetworkShuntItemNumStepsUb
impl RefUnwindSafe for CtmNetworkShuntItemNumStepsUb
impl Send for CtmNetworkShuntItemNumStepsUb
impl Sync for CtmNetworkShuntItemNumStepsUb
impl Unpin for CtmNetworkShuntItemNumStepsUb
impl UnwindSafe for CtmNetworkShuntItemNumStepsUb
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)