Struct sep2_common::packages::dcap::DeviceCapability
source · pub struct DeviceCapability {Show 15 fields
pub end_device_list_link: Option<EndDeviceListLink>,
pub mirror_usage_point_list_link: Option<MirrorUsagePointListLink>,
pub self_device_link: Option<SelfDeviceLink>,
pub poll_rate: Option<Uint32>,
pub customer_account_list_link: Option<CustomerAccountListLink>,
pub demand_response_program_list_link: Option<DemandResponseProgramListLink>,
pub der_program_list_link: Option<DERProgramListLink>,
pub file_list_link: Option<FileListLink>,
pub messaging_program_list_link: Option<MessagingProgramListLink>,
pub prepayment_list_link: Option<PrepaymentListLink>,
pub response_set_list_link: Option<ResponseSetListLink>,
pub tariff_profile_list_link: Option<TariffProfileListLink>,
pub time_link: Option<TimeLink>,
pub usage_point_list_link: Option<UsagePointListLink>,
pub href: Option<String>,
}
Available on crate feature
dcap
only.Fields§
§end_device_list_link: Option<EndDeviceListLink>
§mirror_usage_point_list_link: Option<MirrorUsagePointListLink>
§self_device_link: Option<SelfDeviceLink>
§poll_rate: Option<Uint32>
The default polling rate for this function set (this resource and all resources below), in seconds. If not specified, a default of 900 seconds (15 minutes) is used. It is RECOMMENDED a client poll the resources of this function set every pollRate seconds.
customer_account_list_link: Option<CustomerAccountListLink>
§demand_response_program_list_link: Option<DemandResponseProgramListLink>
§der_program_list_link: Option<DERProgramListLink>
§file_list_link: Option<FileListLink>
§messaging_program_list_link: Option<MessagingProgramListLink>
§prepayment_list_link: Option<PrepaymentListLink>
§response_set_list_link: Option<ResponseSetListLink>
§tariff_profile_list_link: Option<TariffProfileListLink>
§time_link: Option<TimeLink>
§usage_point_list_link: Option<UsagePointListLink>
§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 DeviceCapability
impl Clone for DeviceCapability
source§fn clone(&self) -> DeviceCapability
fn clone(&self) -> DeviceCapability
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 DeviceCapability
impl Debug for DeviceCapability
source§impl Default for DeviceCapability
impl Default for DeviceCapability
source§fn default() -> DeviceCapability
fn default() -> DeviceCapability
Returns the “default value” for a type. Read more
source§impl PartialEq<DeviceCapability> for DeviceCapability
impl PartialEq<DeviceCapability> for DeviceCapability
source§fn eq(&self, other: &DeviceCapability) -> bool
fn eq(&self, other: &DeviceCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEFunctionSetAssignmentsBase for DeviceCapability
impl SEFunctionSetAssignmentsBase for DeviceCapability
source§fn customer_account_list_link(&self) -> Option<&CustomerAccountListLink>
fn customer_account_list_link(&self) -> Option<&CustomerAccountListLink>
Available on crate feature
fsa
only.source§fn demand_response_program_list_link(
&self
) -> Option<&DemandResponseProgramListLink>
fn demand_response_program_list_link( &self ) -> Option<&DemandResponseProgramListLink>
Available on crate feature
fsa
only.source§fn der_program_list_link(&self) -> Option<&DERProgramListLink>
fn der_program_list_link(&self) -> Option<&DERProgramListLink>
Available on crate feature
fsa
only.source§fn file_list_link(&self) -> Option<&FileListLink>
fn file_list_link(&self) -> Option<&FileListLink>
Available on crate feature
fsa
only.source§fn messaging_program_list_link(&self) -> Option<&MessagingProgramListLink>
fn messaging_program_list_link(&self) -> Option<&MessagingProgramListLink>
Available on crate feature
fsa
only.source§fn prepayment_list_link(&self) -> Option<&PrepaymentListLink>
fn prepayment_list_link(&self) -> Option<&PrepaymentListLink>
Available on crate feature
fsa
only.source§fn response_set_list_link(&self) -> Option<&ResponseSetListLink>
fn response_set_list_link(&self) -> Option<&ResponseSetListLink>
Available on crate feature
fsa
only.source§fn tariff_profile_list_link(&self) -> Option<&TariffProfileListLink>
fn tariff_profile_list_link(&self) -> Option<&TariffProfileListLink>
Available on crate feature
fsa
only.source§fn usage_point_list_link(&self) -> Option<&UsagePointListLink>
fn usage_point_list_link(&self) -> Option<&UsagePointListLink>
Available on crate feature
fsa
only.source§impl SEResource for DeviceCapability
impl SEResource for DeviceCapability
source§impl YaDeserialize for DeviceCapability
impl YaDeserialize for DeviceCapability
source§impl YaSerialize for DeviceCapability
impl YaSerialize for DeviceCapability
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 DeviceCapability
impl StructuralEq for DeviceCapability
impl StructuralPartialEq for DeviceCapability
Auto Trait Implementations§
impl RefUnwindSafe for DeviceCapability
impl Send for DeviceCapability
impl Sync for DeviceCapability
impl Unpin for DeviceCapability
impl UnwindSafe for DeviceCapability
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