#[repr(C)]pub struct PamojaLoraSubBand {
pub start_hz: u32,
pub end_hz: u32,
pub duty_cycle_permille: u32,
pub max_eirp_dbm: i8,
}Expand description
A slice of a band with its own transmit limits.
Fields§
§start_hz: u32The first frequency in the sub-band, in hertz.
end_hz: u32The last frequency in the sub-band, in hertz.
duty_cycle_permille: u32The share of time a transmitter may hold the channel, in parts per
thousand, so 10 is one percent and 1000 is unrestricted.
max_eirp_dbm: i8The power ceiling in dBm EIRP.
Trait Implementations§
Source§impl Clone for PamojaLoraSubBand
impl Clone for PamojaLoraSubBand
Source§fn clone(&self) -> PamojaLoraSubBand
fn clone(&self) -> PamojaLoraSubBand
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 PamojaLoraSubBand
Source§impl Debug for PamojaLoraSubBand
impl Debug for PamojaLoraSubBand
impl Eq for PamojaLoraSubBand
Source§impl PartialEq for PamojaLoraSubBand
impl PartialEq for PamojaLoraSubBand
Source§fn eq(&self, other: &PamojaLoraSubBand) -> bool
fn eq(&self, other: &PamojaLoraSubBand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaLoraSubBand
Auto Trait Implementations§
impl Freeze for PamojaLoraSubBand
impl RefUnwindSafe for PamojaLoraSubBand
impl Send for PamojaLoraSubBand
impl Sync for PamojaLoraSubBand
impl Unpin for PamojaLoraSubBand
impl UnsafeUnpin for PamojaLoraSubBand
impl UnwindSafe for PamojaLoraSubBand
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