Struct rak811_at_driver::LoraConfig
source · pub struct LoraConfig {
pub spreading_factor: Option<SpreadingFactor>,
pub region: Option<LoraRegion>,
pub lora_mode: Option<LoraMode>,
}Expand description
LoRaWAN driver configuration.
Fields§
§spreading_factor: Option<SpreadingFactor>§region: Option<LoraRegion>§lora_mode: Option<LoraMode>Implementations§
source§impl LoraConfig
impl LoraConfig
pub fn new() -> Self
pub fn spreading_factor(self, spreading_factor: SpreadingFactor) -> Self
pub fn region(self, region: LoraRegion) -> Self
pub fn lora_mode(self, lora_mode: LoraMode) -> Self
Trait Implementations§
source§impl Clone for LoraConfig
impl Clone for LoraConfig
source§fn clone(&self) -> LoraConfig
fn clone(&self) -> LoraConfig
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 more