Struct sep2_common::packages::edev::SelfDevice
source · pub struct SelfDevice {Show 15 fields
pub poll_rate: Option<Uint32>,
pub configuration_link: Option<ConfigurationLink>,
pub der_list_link: Option<DERListLink>,
pub device_category: Option<DeviceCategoryType>,
pub device_information_link: Option<DeviceInformationLink>,
pub device_status_link: Option<DeviceStatusLink>,
pub file_status_link: Option<FileStatusLink>,
pub ip_interface_list_link: Option<IPInterfaceListLink>,
pub lfdi: Option<HexBinary160>,
pub load_shed_availability_list_link: Option<LoadShedAvailabilityListLink>,
pub log_event_list_link: Option<LogEventListLink>,
pub power_status_link: Option<PowerStatusLink>,
pub sfdi: SFDIType,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
edev
only.Fields§
§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.
configuration_link: Option<ConfigurationLink>
§der_list_link: Option<DERListLink>
§device_category: Option<DeviceCategoryType>
This field is for use in devices that can adjust energy usage (e.g., demand response, distributed energy resources). For devices that do not respond to EndDeviceControls or DERControls (for instance, an ESI), this field should not have any bits set.
device_information_link: Option<DeviceInformationLink>
§device_status_link: Option<DeviceStatusLink>
§file_status_link: Option<FileStatusLink>
§ip_interface_list_link: Option<IPInterfaceListLink>
§lfdi: Option<HexBinary160>
Long form of device identifier. See the Security section for additional details.
load_shed_availability_list_link: Option<LoadShedAvailabilityListLink>
§log_event_list_link: Option<LogEventListLink>
§power_status_link: Option<PowerStatusLink>
§sfdi: SFDIType
Short form of device identifier, WITH the checksum digit. See the Security section for additional details.
subscribable: Option<SubscribableType>
Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is “not subscribable” (0).
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 SelfDevice
impl Clone for SelfDevice
source§fn clone(&self) -> SelfDevice
fn clone(&self) -> SelfDevice
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SelfDevice
impl Debug for SelfDevice
source§impl Default for SelfDevice
impl Default for SelfDevice
source§fn default() -> SelfDevice
fn default() -> SelfDevice
source§impl PartialEq<SelfDevice> for SelfDevice
impl PartialEq<SelfDevice> for SelfDevice
source§fn eq(&self, other: &SelfDevice) -> bool
fn eq(&self, other: &SelfDevice) -> bool
self
and other
values to be equal, and is used
by ==
.