Struct sep2_common::packages::metering::MeterReading
source · pub struct MeterReading {
pub rate_component_list_link: Option<RateComponentListLink>,
pub reading_link: Option<ReadingLink>,
pub reading_set_list_link: Option<ReadingSetListLink>,
pub reading_type_link: ReadingTypeLink,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Available on crate feature
metering
only.Fields§
§rate_component_list_link: Option<RateComponentListLink>
§reading_link: Option<ReadingLink>
§reading_set_list_link: Option<ReadingSetListLink>
§reading_type_link: ReadingTypeLink
§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 MeterReading
impl Clone for MeterReading
source§fn clone(&self) -> MeterReading
fn clone(&self) -> MeterReading
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 MeterReading
impl Debug for MeterReading
source§impl Default for MeterReading
impl Default for MeterReading
source§fn default() -> MeterReading
fn default() -> MeterReading
Returns the “default value” for a type. Read more
source§impl Ord for MeterReading
impl Ord for MeterReading
source§impl PartialEq<MeterReading> for MeterReading
impl PartialEq<MeterReading> for MeterReading
source§fn eq(&self, other: &MeterReading) -> bool
fn eq(&self, other: &MeterReading) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MeterReading> for MeterReading
impl PartialOrd<MeterReading> for MeterReading
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SEIdentifiedObject for MeterReading
impl SEIdentifiedObject for MeterReading
source§impl SEResource for MeterReading
impl SEResource for MeterReading
source§impl YaDeserialize for MeterReading
impl YaDeserialize for MeterReading
source§impl YaSerialize for MeterReading
impl YaSerialize for MeterReading
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 MeterReading
impl SEMeterReadingBase for MeterReading
impl StructuralEq for MeterReading
impl StructuralPartialEq for MeterReading
Auto Trait Implementations§
impl RefUnwindSafe for MeterReading
impl Send for MeterReading
impl Sync for MeterReading
impl Unpin for MeterReading
impl UnwindSafe for MeterReading
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