Struct sep2_common::packages::edev::EndDevice
source · pub struct EndDevice {Show 23 fields
pub changed_time: TimeType,
pub enabled: Option<bool>,
pub flow_reservation_request_list_link: Option<FlowReservationRequestListLink>,
pub flow_reservation_response_list_link: Option<FlowReservationResponseListLink>,
pub function_set_assignments_list_link: Option<FunctionSetAssignmentsListLink>,
pub post_rate: Option<Uint32>,
pub registration_link: Option<RegistrationLink>,
pub subscription_list_link: Option<SubscriptionListLink>,
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 connection_point_link: Option<ConnectionPointLink>,
pub sfdi: SFDIType,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
edev
only.Fields§
§changed_time: TimeType
The time at which this resource was last modified or created.
enabled: Option<bool>
This attribute indicates whether or not an EndDevice is enabled, or registered, on the server. If a server sets this attribute to false, the device is no longer registered. It should be noted that servers can delete EndDevice instances, but using this attribute for some time is more convenient for clients.
flow_reservation_request_list_link: Option<FlowReservationRequestListLink>
§flow_reservation_response_list_link: Option<FlowReservationResponseListLink>
§function_set_assignments_list_link: Option<FunctionSetAssignmentsListLink>
§post_rate: Option<Uint32>
POST rate, or how often EndDevice and subordinate resources should be POSTed, in seconds. A client MAY indicate a preferred postRate when POSTing EndDevice. A server MAY add or modify postRate to indicate its preferred posting rate.
registration_link: Option<RegistrationLink>
§subscription_list_link: Option<SubscriptionListLink>
§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>
§connection_point_link: Option<ConnectionPointLink>
csip_aus
only.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 Ord for EndDevice
impl Ord for EndDevice
source§impl PartialEq<EndDevice> for EndDevice
impl PartialEq<EndDevice> for EndDevice
source§impl PartialOrd<EndDevice> for EndDevice
impl PartialOrd<EndDevice> for EndDevice
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more