pub struct AssocReqPayload {
pub alternate_pan_coordinator: bool,
pub device_type: bool,
pub power_source: bool,
pub receiver_on_when_idle: bool,
pub security_capability: bool,
pub allocate_address: bool,
}Expand description
Association Request capability information.
Fields§
§alternate_pan_coordinator: boolAlternate PAN Coordinator (bit 0).
device_type: boolDevice Type (bit 1): 1=FFD, 0=RFD.
power_source: boolPower Source (bit 2): 1=mains, 0=battery.
receiver_on_when_idle: boolReceiver On When Idle (bit 3).
security_capability: boolSecurity Capability (bit 6).
allocate_address: boolAllocate Address (bit 7).
Trait Implementations§
Source§impl Clone for AssocReqPayload
impl Clone for AssocReqPayload
Source§fn clone(&self) -> AssocReqPayload
fn clone(&self) -> AssocReqPayload
Returns a duplicate 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 AssocReqPayload
impl Debug for AssocReqPayload
Source§impl PartialEq for AssocReqPayload
impl PartialEq for AssocReqPayload
impl Eq for AssocReqPayload
impl StructuralPartialEq for AssocReqPayload
Auto Trait Implementations§
impl Freeze for AssocReqPayload
impl RefUnwindSafe for AssocReqPayload
impl Send for AssocReqPayload
impl Sync for AssocReqPayload
impl Unpin for AssocReqPayload
impl UnsafeUnpin for AssocReqPayload
impl UnwindSafe for AssocReqPayload
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