Skip to main content

StateVariablesVersion

Struct StateVariablesVersion 

Source
pub struct StateVariablesVersion<'a>(pub &'a Object);
Expand description

Version details.

Tuple Fields§

§0: &'a Object

Implementations§

Source§

impl<'a> StateVariablesVersion<'a>

Source

pub fn mrid(&self) -> &'a Mrid

The object’s master resource identifier.

Source

pub fn base_uml(&self) -> Option<&'a str>

Base UML provided by CIM model manager.

Source

pub fn base_uri(&self) -> Option<&'a str>

Profile URI used in the Model Exchange header and defined in IEC standards. It uniquely identifies the Profile and its version. It is given for information only and to identify the closest IEC profile to which this CGMES profile is based on.

Source

pub fn date(&self) -> Option<&'a str>

Profile creation date Form is YYYY-MM-DD for example for January 5, 2009 it is 2009-01-05.

Source

pub fn difference_model_uri(&self) -> Option<&'a str>

Difference model URI defined by IEC 61970-552.

Source

pub fn entsoe_uml(&self) -> Option<&'a str>

UML provided by ENTSO-E.

Source

pub fn entsoe_uri(&self) -> Option<&'a str>

Profile URI defined by ENTSO-E and used in the Model Exchange header. It uniquely identifies the Profile and its version. The last two elements in the URI (http://entsoe.eu/CIM/StateVariables/yy/zzz) indicate major and minor versions where:

  • yy - indicates a major version;
  • zzz - indicates a minor version.
Source

pub fn model_description_uri(&self) -> Option<&'a str>

Model Description URI defined by IEC 61970-552.

Source

pub fn namespace_rdf(&self) -> Option<&'a str>

RDF namespace.

Source

pub fn namespace_uml(&self) -> Option<&'a str>

CIM UML namespace.

Source

pub fn short_name(&self) -> Option<&'a str>

The short name of the profile used in profile documentation.

Trait Implementations§

Source§

impl<'a> Clone for StateVariablesVersion<'a>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Copy for StateVariablesVersion<'a>

Source§

impl<'a> Debug for StateVariablesVersion<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> TypedView<'a> for StateVariablesVersion<'a>

Source§

const CLASS: ClassId = classes::StateVariablesVersion

The class this view represents.
Source§

fn from_object(o: &'a Object) -> Self

Wrap an object without checking its class.
Source§

fn object(&self) -> &'a Object

The underlying object.
Source§

fn try_from_object(schema: &Schema, object: &'a Object) -> Option<Self>

Wrap an object only if its class matches, including subclasses.
Source§

fn mrid(&self) -> &'a Mrid

The object’s master resource identifier.

Auto Trait Implementations§

§

impl<'a> Forget for StateVariablesVersion<'a>

§

impl<'a> Freeze for StateVariablesVersion<'a>
where &'a Object: Freeze,

§

impl<'a> Move for StateVariablesVersion<'a>

§

impl<'a> RefUnwindSafe for StateVariablesVersion<'a>

§

impl<'a> Send for StateVariablesVersion<'a>
where &'a Object: Send,

§

impl<'a> Sync for StateVariablesVersion<'a>
where BoxRaw<str>: Sync, RawVecInner: Sync, BoxRaw<(f64, Box<str>)>: Sync, BoxRaw<Compound>: Sync,

§

impl<'a> Unpin for StateVariablesVersion<'a>
where &'a Object: Unpin,

§

impl<'a> UnsafeUnpin for StateVariablesVersion<'a>
where &'a Object: UnsafeUnpin,

§

impl<'a> UnwindSafe for StateVariablesVersion<'a>
where &'a Object: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.