Struct lorawan::maccommandcreator::DutyCycleReqCreator
source · pub struct DutyCycleReqCreator { /* private fields */ }
Expand description
DutyCycleReqCreator serves for creating DutyCycleReq MacCommand.
§Examples
let mut creator = lorawan::maccommandcreator::DutyCycleReqCreator::new();
let res = creator.set_max_duty_cycle(0x0f).unwrap().build();
Implementations§
Trait Implementations§
source§impl Debug for DutyCycleReqCreator
impl Debug for DutyCycleReqCreator
source§impl Default for DutyCycleReqCreator
impl Default for DutyCycleReqCreator
source§impl Format for DutyCycleReqCreator
impl Format for DutyCycleReqCreator
Auto Trait Implementations§
impl Freeze for DutyCycleReqCreator
impl RefUnwindSafe for DutyCycleReqCreator
impl Send for DutyCycleReqCreator
impl Sync for DutyCycleReqCreator
impl Unpin for DutyCycleReqCreator
impl UnwindSafe for DutyCycleReqCreator
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