Struct sep2_common::packages::di::DeviceInformation
source · pub struct DeviceInformation {Show 17 fields
pub drlc_capabilities: Option<DRLCCapabilities>,
pub functions_implemented: Option<FunctionSetsImplemented>,
pub gps_location: Option<GPSLocationType>,
pub lfdi: HexBinary160,
pub mf_date: TimeType,
pub mf_hw_ver: String32,
pub mf_id: PENType,
pub mf_info: Option<String32>,
pub mf_model: String32,
pub mf_ser_num: String32,
pub primary_power: PowerSourceType,
pub secondary_power: PowerSourceType,
pub supported_locale_list_link: Option<SupportedLocaleListLink>,
pub sw_act_time: TimeType,
pub sw_ver: String32,
pub poll_rate: Option<Uint32>,
pub href: Option<String>,
}
di
only.Fields§
§drlc_capabilities: Option<DRLCCapabilities>
§functions_implemented: Option<FunctionSetsImplemented>
Bitmap indicating the function sets used by the device as a client. 0 - Device Capability 1 - Self Device Resource 2 - End Device Resource 3 - Function Set Assignments 4 - Subscription/Notification Mechanism 5 - Response 6 - Time 7 - Device Information 8 - Power Status 9 - Network Status 10 - Log Event 11 - Configuration Resource 12 - Software Download 13 - DRLC 14 - Metering 15 - Pricing 16 - Messaging 17 - Billing 18 - Prepayment 19 - Flow Reservation 20 - DER Control
gps_location: Option<GPSLocationType>
GPS location of this device.
lfdi: HexBinary160
Long form device identifier. See the Security section for full details.
mf_date: TimeType
Date/time of manufacture
mf_hw_ver: String32
Manufacturer hardware version
mf_id: PENType
The manufacturer’s IANA Enterprise Number.
mf_info: Option<String32>
Manufacturer dependent information related to the manufacture of this device
mf_model: String32
Manufacturer’s model number
mf_ser_num: String32
Manufacturer assigned serial number
primary_power: PowerSourceType
§secondary_power: PowerSourceType
§supported_locale_list_link: Option<SupportedLocaleListLink>
§sw_act_time: TimeType
Activation date/time of currently running software
sw_ver: String32
Currently running software version
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.
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 DeviceInformation
impl Clone for DeviceInformation
source§fn clone(&self) -> DeviceInformation
fn clone(&self) -> DeviceInformation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeviceInformation
impl Debug for DeviceInformation
source§impl Default for DeviceInformation
impl Default for DeviceInformation
source§fn default() -> DeviceInformation
fn default() -> DeviceInformation
source§impl PartialEq<DeviceInformation> for DeviceInformation
impl PartialEq<DeviceInformation> for DeviceInformation
source§fn eq(&self, other: &DeviceInformation) -> bool
fn eq(&self, other: &DeviceInformation) -> bool
self
and other
values to be equal, and is used
by ==
.