#[repr(C)]pub struct mxr_factory_reset_request_t {
pub all: bool,
pub target: mxr_uid_t,
}Expand description
Asks peers to factory-reset.
Fields§
§all: boolSet by the broadcast form, which targets every peer.
target: mxr_uid_tThe single device addressed, zero when all is set or when the request
addresses only its sender.
Trait Implementations§
Source§impl Clone for mxr_factory_reset_request_t
impl Clone for mxr_factory_reset_request_t
Source§fn clone(&self) -> mxr_factory_reset_request_t
fn clone(&self) -> mxr_factory_reset_request_t
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 mxr_factory_reset_request_t
Auto Trait Implementations§
impl Freeze for mxr_factory_reset_request_t
impl RefUnwindSafe for mxr_factory_reset_request_t
impl Send for mxr_factory_reset_request_t
impl Sync for mxr_factory_reset_request_t
impl Unpin for mxr_factory_reset_request_t
impl UnsafeUnpin for mxr_factory_reset_request_t
impl UnwindSafe for mxr_factory_reset_request_t
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