Struct sep2_common::packages::drlc::EndDeviceControlList
source · pub struct EndDeviceControlList {
pub end_device_control: Vec<EndDeviceControl>,
pub all: Uint32,
pub results: Uint32,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
Available on crate feature
drlc
only.Fields§
§end_device_control: Vec<EndDeviceControl>
§all: Uint32
The number specifying “all” of the items in the list. Required on GET, ignored otherwise.
results: Uint32
Indicates the number of items in this page of results.
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 EndDeviceControlList
impl Clone for EndDeviceControlList
source§fn clone(&self) -> EndDeviceControlList
fn clone(&self) -> EndDeviceControlList
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 EndDeviceControlList
impl Debug for EndDeviceControlList
source§impl Default for EndDeviceControlList
impl Default for EndDeviceControlList
source§fn default() -> EndDeviceControlList
fn default() -> EndDeviceControlList
Returns the “default value” for a type. Read more
source§impl PartialEq<EndDeviceControlList> for EndDeviceControlList
impl PartialEq<EndDeviceControlList> for EndDeviceControlList
source§fn eq(&self, other: &EndDeviceControlList) -> bool
fn eq(&self, other: &EndDeviceControlList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEList for EndDeviceControlList
impl SEList for EndDeviceControlList
type Inner = EndDeviceControl
fn all(&self) -> Uint32
fn all_mut(&mut self) -> &mut Uint32
fn results(&self) -> Uint32
fn results_mut(&mut self) -> &mut Uint32
fn list_as_slice(&self) -> &[Self::Inner]
fn list_mut(&mut self) -> &mut Vec<Self::Inner>
source§impl SEResource for EndDeviceControlList
impl SEResource for EndDeviceControlList
source§impl SESubscribableResource for EndDeviceControlList
impl SESubscribableResource for EndDeviceControlList
fn subscribable(&self) -> Option<SubscribableType>
source§impl YaDeserialize for EndDeviceControlList
impl YaDeserialize for EndDeviceControlList
source§impl YaSerialize for EndDeviceControlList
impl YaSerialize for EndDeviceControlList
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 EndDeviceControlList
impl SESubscribableList for EndDeviceControlList
impl StructuralEq for EndDeviceControlList
impl StructuralPartialEq for EndDeviceControlList
Auto Trait Implementations§
impl RefUnwindSafe for EndDeviceControlList
impl Send for EndDeviceControlList
impl Sync for EndDeviceControlList
impl Unpin for EndDeviceControlList
impl UnwindSafe for EndDeviceControlList
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