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