Struct sep2_common::packages::metering::UsagePoint
source · pub struct UsagePoint {
pub device_lfdi: Option<HexBinary160>,
pub meter_reading_list_link: Option<MeterReadingListLink>,
pub role_flags: RoleFlagsType,
pub service_category_kind: ServiceKind,
pub status: UsagePointStatus,
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub href: Option<String>,
}
Available on crate feature
metering
only.Fields§
§device_lfdi: Option<HexBinary160>
The LFDI of the source device. This attribute SHALL be present when mirroring.
meter_reading_list_link: Option<MeterReadingListLink>
§role_flags: RoleFlagsType
Specifies the roles that apply to the usage point.
service_category_kind: ServiceKind
The kind of service provided by this usage point.
status: UsagePointStatus
Specifies the current status of the service at this usage point. 0 = off 1 = on
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 UsagePoint
impl Clone for UsagePoint
source§fn clone(&self) -> UsagePoint
fn clone(&self) -> UsagePoint
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 UsagePoint
impl Debug for UsagePoint
source§impl Default for UsagePoint
impl Default for UsagePoint
source§fn default() -> UsagePoint
fn default() -> UsagePoint
Returns the “default value” for a type. Read more
source§impl Ord for UsagePoint
impl Ord for UsagePoint
source§impl PartialEq<UsagePoint> for UsagePoint
impl PartialEq<UsagePoint> for UsagePoint
source§fn eq(&self, other: &UsagePoint) -> bool
fn eq(&self, other: &UsagePoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UsagePoint> for UsagePoint
impl PartialOrd<UsagePoint> for UsagePoint
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 UsagePoint
impl SEIdentifiedObject for UsagePoint
source§impl SEResource for UsagePoint
impl SEResource for UsagePoint
source§impl SEUsagePointBase for UsagePoint
impl SEUsagePointBase for UsagePoint
source§fn role_flags(&self) -> RoleFlagsType
fn role_flags(&self) -> RoleFlagsType
Available on crate feature
metering_mirror
only.source§fn service_category_kind(&self) -> ServiceKind
fn service_category_kind(&self) -> ServiceKind
Available on crate feature
metering_mirror
only.source§impl YaDeserialize for UsagePoint
impl YaDeserialize for UsagePoint
source§impl YaSerialize for UsagePoint
impl YaSerialize for UsagePoint
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 UsagePoint
impl StructuralEq for UsagePoint
impl StructuralPartialEq for UsagePoint
Auto Trait Implementations§
impl RefUnwindSafe for UsagePoint
impl Send for UsagePoint
impl Sync for UsagePoint
impl Unpin for UsagePoint
impl UnwindSafe for UsagePoint
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