Struct sep2_common::packages::metering::ReadingSet
source · pub struct ReadingSet {
pub reading_list_link: Option<ReadingListLink>,
pub time_period: DateTimeInterval,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Available on crate feature
metering
only.Fields§
§reading_list_link: Option<ReadingListLink>
§time_period: DateTimeInterval
Specifies the time range during which the contained readings were taken.
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 ReadingSet
impl Clone for ReadingSet
source§fn clone(&self) -> ReadingSet
fn clone(&self) -> ReadingSet
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 ReadingSet
impl Debug for ReadingSet
source§impl Default for ReadingSet
impl Default for ReadingSet
source§fn default() -> ReadingSet
fn default() -> ReadingSet
Returns the “default value” for a type. Read more
source§impl Ord for ReadingSet
impl Ord for ReadingSet
source§impl PartialEq<ReadingSet> for ReadingSet
impl PartialEq<ReadingSet> for ReadingSet
source§fn eq(&self, other: &ReadingSet) -> bool
fn eq(&self, other: &ReadingSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ReadingSet> for ReadingSet
impl PartialOrd<ReadingSet> for ReadingSet
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 ReadingSet
impl SEIdentifiedObject for ReadingSet
source§impl SEReadingSetBase for ReadingSet
impl SEReadingSetBase for ReadingSet
source§fn time_period(&self) -> &DateTimeInterval
fn time_period(&self) -> &DateTimeInterval
Available on crate feature
metering_mirror
only.source§impl SEResource for ReadingSet
impl SEResource for ReadingSet
source§impl YaDeserialize for ReadingSet
impl YaDeserialize for ReadingSet
source§impl YaSerialize for ReadingSet
impl YaSerialize for ReadingSet
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 ReadingSet
impl StructuralEq for ReadingSet
impl StructuralPartialEq for ReadingSet
Auto Trait Implementations§
impl RefUnwindSafe for ReadingSet
impl Send for ReadingSet
impl Sync for ReadingSet
impl Unpin for ReadingSet
impl UnwindSafe for ReadingSet
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