#[repr(C)]pub struct PamojaLorawanFlags {
pub confirmed: u8,
pub adr: u8,
pub ack: u8,
pub fpending: u8,
}Expand description
The header flags a sender sets on a data frame.
Each is 1 for on and 0 for off. fpending applies to a downlink only and
is ignored when encoding an uplink.
Fields§
§confirmed: u8Ask the far end to acknowledge this frame.
adr: u8Mark the frame as taking part in adaptive data rate.
ack: u8Acknowledge the last confirmed frame from the far end.
fpending: u8Tell the device more downlink data is waiting.
Trait Implementations§
Source§impl Clone for PamojaLorawanFlags
impl Clone for PamojaLorawanFlags
Source§fn clone(&self) -> PamojaLorawanFlags
fn clone(&self) -> PamojaLorawanFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaLorawanFlags
Source§impl Debug for PamojaLorawanFlags
impl Debug for PamojaLorawanFlags
impl Eq for PamojaLorawanFlags
Source§impl PartialEq for PamojaLorawanFlags
impl PartialEq for PamojaLorawanFlags
Source§fn eq(&self, other: &PamojaLorawanFlags) -> bool
fn eq(&self, other: &PamojaLorawanFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaLorawanFlags
Auto Trait Implementations§
impl Freeze for PamojaLorawanFlags
impl RefUnwindSafe for PamojaLorawanFlags
impl Send for PamojaLorawanFlags
impl Sync for PamojaLorawanFlags
impl Unpin for PamojaLorawanFlags
impl UnsafeUnpin for PamojaLorawanFlags
impl UnwindSafe for PamojaLorawanFlags
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