Struct sep2_common::packages::edev::Registration
source · pub struct Registration {
pub date_time_registered: TimeType,
pub pin: PINType,
pub poll_rate: Option<Uint32>,
pub href: Option<String>,
}
Available on crate feature
edev
only.Fields§
§date_time_registered: TimeType
Contains the time at which this registration was created, by which clients MAY prioritize information providers with the most recent registrations, when no additional direction from the consumer is available.
pin: PINType
Contains the registration PIN number associated with the device, including the checksum digit.
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 Registration
impl Clone for Registration
source§fn clone(&self) -> Registration
fn clone(&self) -> Registration
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 Registration
impl Debug for Registration
source§impl Default for Registration
impl Default for Registration
source§fn default() -> Registration
fn default() -> Registration
Returns the “default value” for a type. Read more
source§impl PartialEq<Registration> for Registration
impl PartialEq<Registration> for Registration
source§fn eq(&self, other: &Registration) -> bool
fn eq(&self, other: &Registration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEResource for Registration
impl SEResource for Registration
source§impl YaDeserialize for Registration
impl YaDeserialize for Registration
source§impl YaSerialize for Registration
impl YaSerialize for Registration
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 Registration
impl StructuralEq for Registration
impl StructuralPartialEq for Registration
Auto Trait Implementations§
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnwindSafe for Registration
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