Struct sep2_common::packages::metering_mirror::MeterReadingBase
source · pub struct MeterReadingBase {
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Available on crate feature
metering_mirror
only.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 MeterReadingBase
impl Clone for MeterReadingBase
source§fn clone(&self) -> MeterReadingBase
fn clone(&self) -> MeterReadingBase
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 MeterReadingBase
impl Debug for MeterReadingBase
source§impl Default for MeterReadingBase
impl Default for MeterReadingBase
source§fn default() -> MeterReadingBase
fn default() -> MeterReadingBase
Returns the “default value” for a type. Read more
source§impl PartialEq<MeterReadingBase> for MeterReadingBase
impl PartialEq<MeterReadingBase> for MeterReadingBase
source§fn eq(&self, other: &MeterReadingBase) -> bool
fn eq(&self, other: &MeterReadingBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEResource for MeterReadingBase
impl SEResource for MeterReadingBase
source§impl YaDeserialize for MeterReadingBase
impl YaDeserialize for MeterReadingBase
source§impl YaSerialize for MeterReadingBase
impl YaSerialize for MeterReadingBase
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 MeterReadingBase
impl SEMeterReadingBase for MeterReadingBase
impl StructuralEq for MeterReadingBase
impl StructuralPartialEq for MeterReadingBase
Auto Trait Implementations§
impl RefUnwindSafe for MeterReadingBase
impl Send for MeterReadingBase
impl Sync for MeterReadingBase
impl Unpin for MeterReadingBase
impl UnwindSafe for MeterReadingBase
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