#[non_exhaustive]pub struct SidewalkSendDataToDevice {
pub seq: Option<i32>,
pub message_type: Option<MessageType>,
pub ack_mode_retry_duration_secs: Option<i32>,
}Expand description
Information about a Sidewalk router.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.seq: Option<i32>The sequence number.
message_type: Option<MessageType>Sidewalk device message type. Default value is CUSTOM_COMMAND_ID_NOTIFY.
ack_mode_retry_duration_secs: Option<i32>The duration of time in seconds to retry sending the ACK.
Implementations§
source§impl SidewalkSendDataToDevice
impl SidewalkSendDataToDevice
sourcepub fn message_type(&self) -> Option<&MessageType>
pub fn message_type(&self) -> Option<&MessageType>
Sidewalk device message type. Default value is CUSTOM_COMMAND_ID_NOTIFY.
sourcepub fn ack_mode_retry_duration_secs(&self) -> Option<i32>
pub fn ack_mode_retry_duration_secs(&self) -> Option<i32>
The duration of time in seconds to retry sending the ACK.
source§impl SidewalkSendDataToDevice
impl SidewalkSendDataToDevice
sourcepub fn builder() -> SidewalkSendDataToDeviceBuilder
pub fn builder() -> SidewalkSendDataToDeviceBuilder
Creates a new builder-style object to manufacture SidewalkSendDataToDevice.
Trait Implementations§
source§impl Clone for SidewalkSendDataToDevice
impl Clone for SidewalkSendDataToDevice
source§fn clone(&self) -> SidewalkSendDataToDevice
fn clone(&self) -> SidewalkSendDataToDevice
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 SidewalkSendDataToDevice
impl Debug for SidewalkSendDataToDevice
source§impl PartialEq for SidewalkSendDataToDevice
impl PartialEq for SidewalkSendDataToDevice
source§fn eq(&self, other: &SidewalkSendDataToDevice) -> bool
fn eq(&self, other: &SidewalkSendDataToDevice) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SidewalkSendDataToDevice
Auto Trait Implementations§
impl Freeze for SidewalkSendDataToDevice
impl RefUnwindSafe for SidewalkSendDataToDevice
impl Send for SidewalkSendDataToDevice
impl Sync for SidewalkSendDataToDevice
impl Unpin for SidewalkSendDataToDevice
impl UnwindSafe for SidewalkSendDataToDevice
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.