pub struct CtmNetworkAreaItem {
pub ext: Option<Value>,
pub name: Option<String>,
pub status: Status,
pub uid: Uid,
}Expand description
geographical subset of the electrical network with common Automatic Generation Control (AGC) and responsible for its Area Control Error (ACE)
JSON schema
{
"description": "geographical subset of the electrical network with common Automatic Generation Control (AGC) and responsible for its Area Control Error (ACE)",
"type": "object",
"required": [
"status",
"uid"
],
"properties": {
"ext": {
"description": "additional area parameters currently not supported by CTM"
},
"name": {
"description": "area name",
"type": "string"
},
"status": {
"description": "binary indicator of whether area should be included or omitted (if omitted all elements within area should be omitted); 1=>included, 0=>omitted",
"$ref": "#/$defs/status"
},
"uid": {
"$ref": "#/$defs/uid"
}
}
}Fields§
§ext: Option<Value>additional area parameters currently not supported by CTM
name: Option<String>area name
status: Statusbinary indicator of whether area should be included or omitted (if omitted all elements within area should be omitted); 1=>included, 0=>omitted
uid: UidImplementations§
Source§impl CtmNetworkAreaItem
impl CtmNetworkAreaItem
pub fn builder() -> CtmNetworkAreaItem
Trait Implementations§
Source§impl Clone for CtmNetworkAreaItem
impl Clone for CtmNetworkAreaItem
Source§fn clone(&self) -> CtmNetworkAreaItem
fn clone(&self) -> CtmNetworkAreaItem
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 CtmNetworkAreaItem
impl Debug for CtmNetworkAreaItem
Source§impl<'de> Deserialize<'de> for CtmNetworkAreaItem
impl<'de> Deserialize<'de> for CtmNetworkAreaItem
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<&CtmNetworkAreaItem> for CtmNetworkAreaItem
impl From<&CtmNetworkAreaItem> for CtmNetworkAreaItem
Source§fn from(value: &CtmNetworkAreaItem) -> Self
fn from(value: &CtmNetworkAreaItem) -> Self
Converts to this type from the input type.
Source§impl From<CtmNetworkAreaItem> for CtmNetworkAreaItem
impl From<CtmNetworkAreaItem> for CtmNetworkAreaItem
Source§fn from(value: CtmNetworkAreaItem) -> Self
fn from(value: CtmNetworkAreaItem) -> Self
Converts to this type from the input type.
Source§impl Serialize for CtmNetworkAreaItem
impl Serialize for CtmNetworkAreaItem
Source§impl TryFrom<CtmNetworkAreaItem> for CtmNetworkAreaItem
impl TryFrom<CtmNetworkAreaItem> for CtmNetworkAreaItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CtmNetworkAreaItem) -> Result<Self, ConversionError>
fn try_from(value: CtmNetworkAreaItem) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CtmNetworkAreaItem
impl RefUnwindSafe for CtmNetworkAreaItem
impl Send for CtmNetworkAreaItem
impl Sync for CtmNetworkAreaItem
impl Unpin for CtmNetworkAreaItem
impl UnwindSafe for CtmNetworkAreaItem
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)