Struct sep2_common::packages::metering_mirror::UsagePointBase
source · pub struct UsagePointBase {
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_mirror
only.Fields§
§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 UsagePointBase
impl Clone for UsagePointBase
source§fn clone(&self) -> UsagePointBase
fn clone(&self) -> UsagePointBase
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 UsagePointBase
impl Debug for UsagePointBase
source§impl Default for UsagePointBase
impl Default for UsagePointBase
source§fn default() -> UsagePointBase
fn default() -> UsagePointBase
Returns the “default value” for a type. Read more
source§impl PartialEq<UsagePointBase> for UsagePointBase
impl PartialEq<UsagePointBase> for UsagePointBase
source§fn eq(&self, other: &UsagePointBase) -> bool
fn eq(&self, other: &UsagePointBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEIdentifiedObject for UsagePointBase
impl SEIdentifiedObject for UsagePointBase
source§impl SEResource for UsagePointBase
impl SEResource for UsagePointBase
source§impl SEUsagePointBase for UsagePointBase
impl SEUsagePointBase for UsagePointBase
fn role_flags(&self) -> RoleFlagsType
fn service_category_kind(&self) -> ServiceKind
source§impl YaDeserialize for UsagePointBase
impl YaDeserialize for UsagePointBase
source§impl YaSerialize for UsagePointBase
impl YaSerialize for UsagePointBase
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 UsagePointBase
impl StructuralEq for UsagePointBase
impl StructuralPartialEq for UsagePointBase
Auto Trait Implementations§
impl RefUnwindSafe for UsagePointBase
impl Send for UsagePointBase
impl Sync for UsagePointBase
impl Unpin for UsagePointBase
impl UnwindSafe for UsagePointBase
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