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