Struct ieee802154::mac::command::GuaranteedTimeSlotCharacteristics
source · [−]pub struct GuaranteedTimeSlotCharacteristics {
pub count: u8,
pub receive_only: bool,
pub allocation: bool,
}
Expand description
Guaranteed time slot characteristics
GTS configuration requested with the guaranteed time slot request command.
Fields
count: u8
Number of slots requested
receive_only: bool
Receive only slots, otherwise transmit
allocation: bool
Request type, Allocate or de-allocate
Trait Implementations
sourceimpl Clone for GuaranteedTimeSlotCharacteristics
impl Clone for GuaranteedTimeSlotCharacteristics
sourcefn clone(&self) -> GuaranteedTimeSlotCharacteristics
fn clone(&self) -> GuaranteedTimeSlotCharacteristics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<GuaranteedTimeSlotCharacteristics> for u8
impl From<GuaranteedTimeSlotCharacteristics> for u8
sourcefn from(gtsc: GuaranteedTimeSlotCharacteristics) -> Self
fn from(gtsc: GuaranteedTimeSlotCharacteristics) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for GuaranteedTimeSlotCharacteristics
impl From<u8> for GuaranteedTimeSlotCharacteristics
sourceimpl PartialEq<GuaranteedTimeSlotCharacteristics> for GuaranteedTimeSlotCharacteristics
impl PartialEq<GuaranteedTimeSlotCharacteristics> for GuaranteedTimeSlotCharacteristics
sourcefn eq(&self, other: &GuaranteedTimeSlotCharacteristics) -> bool
fn eq(&self, other: &GuaranteedTimeSlotCharacteristics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for GuaranteedTimeSlotCharacteristics
impl Eq for GuaranteedTimeSlotCharacteristics
impl StructuralEq for GuaranteedTimeSlotCharacteristics
impl StructuralPartialEq for GuaranteedTimeSlotCharacteristics
Auto Trait Implementations
impl RefUnwindSafe for GuaranteedTimeSlotCharacteristics
impl Send for GuaranteedTimeSlotCharacteristics
impl Sync for GuaranteedTimeSlotCharacteristics
impl Unpin for GuaranteedTimeSlotCharacteristics
impl UnwindSafe for GuaranteedTimeSlotCharacteristics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more