Struct sep2_common::packages::identification::IdentifiedObject
source · pub struct IdentifiedObject {
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Expand description
This is a root class to provide common naming attributes for all classes needing naming attributes
Fields§
§mrid: MRIDType
The global identifier of the object.
description: Option<String32>
The description is a human readable text describing or naming the object.
version: Option<VersionType>
Contains the version number of the object. See the type definition for details.
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for IdentifiedObject
impl Clone for IdentifiedObject
source§fn clone(&self) -> IdentifiedObject
fn clone(&self) -> IdentifiedObject
Returns a copy 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 IdentifiedObject
impl Debug for IdentifiedObject
source§impl Default for IdentifiedObject
impl Default for IdentifiedObject
source§fn default() -> IdentifiedObject
fn default() -> IdentifiedObject
Returns the “default value” for a type. Read more
source§impl PartialEq<IdentifiedObject> for IdentifiedObject
impl PartialEq<IdentifiedObject> for IdentifiedObject
source§fn eq(&self, other: &IdentifiedObject) -> bool
fn eq(&self, other: &IdentifiedObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEResource for IdentifiedObject
impl SEResource for IdentifiedObject
source§impl YaDeserialize for IdentifiedObject
impl YaDeserialize for IdentifiedObject
source§impl YaSerialize for IdentifiedObject
impl YaSerialize for IdentifiedObject
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for IdentifiedObject
impl StructuralEq for IdentifiedObject
impl StructuralPartialEq for IdentifiedObject
Auto Trait Implementations§
impl RefUnwindSafe for IdentifiedObject
impl Send for IdentifiedObject
impl Sync for IdentifiedObject
impl Unpin for IdentifiedObject
impl UnwindSafe for IdentifiedObject
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