pub struct SetConfigResult {
pub result: SetConfigResultCode,
pub owner: Owner,
pub current: Modulation,
}Expand description
Payload of OK in response to SET_CONFIG (PROTOCOL.md §6.3).
current_modulation and current_params always reflect what is
actually programmed into the radio at the moment the response was
constructed, regardless of whether this call caused the change.
Fields§
§result: SetConfigResultCode§owner: Owner§current: ModulationImplementations§
Trait Implementations§
Source§impl Clone for SetConfigResult
impl Clone for SetConfigResult
Source§fn clone(&self) -> SetConfigResult
fn clone(&self) -> SetConfigResult
Returns a duplicate 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 moreSource§impl Debug for SetConfigResult
impl Debug for SetConfigResult
Source§impl Format for SetConfigResult
impl Format for SetConfigResult
Source§impl PartialEq for SetConfigResult
impl PartialEq for SetConfigResult
impl Copy for SetConfigResult
impl Eq for SetConfigResult
impl StructuralPartialEq for SetConfigResult
Auto Trait Implementations§
impl Freeze for SetConfigResult
impl RefUnwindSafe for SetConfigResult
impl Send for SetConfigResult
impl Sync for SetConfigResult
impl Unpin for SetConfigResult
impl UnsafeUnpin for SetConfigResult
impl UnwindSafe for SetConfigResult
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