pub struct ModelAuthoritySet {
pub mrid: String,
pub name: String,
pub description: Option<String>,
pub members: Vec<String>,
}Expand description
Model authority set — TSO ownership of CIM equipment.
Each ModelAuthoritySet identifies a TSO or model authority and lists
the equipment mRIDs that belong to it. Used for multi-TSO model merging
(CGM assembly) to track which authority owns which equipment.
Fields§
§mrid: StringCIM mRID of the ModelAuthoritySet.
name: StringTSO identifier / short name.
description: Option<String>Full description of the authority.
members: Vec<String>Equipment mRIDs owned by this authority (reverse-lookup from
IdentifiedObject.ModelAuthoritySet references).
Trait Implementations§
Source§impl Clone for ModelAuthoritySet
impl Clone for ModelAuthoritySet
Source§fn clone(&self) -> ModelAuthoritySet
fn clone(&self) -> ModelAuthoritySet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelAuthoritySet
impl Debug for ModelAuthoritySet
Source§impl<'de> Deserialize<'de> for ModelAuthoritySet
impl<'de> Deserialize<'de> for ModelAuthoritySet
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
Auto Trait Implementations§
impl Freeze for ModelAuthoritySet
impl RefUnwindSafe for ModelAuthoritySet
impl Send for ModelAuthoritySet
impl Sync for ModelAuthoritySet
impl Unpin for ModelAuthoritySet
impl UnsafeUnpin for ModelAuthoritySet
impl UnwindSafe for ModelAuthoritySet
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