#[non_exhaustive]pub struct WirelessDeviceStatusBroadcast {
pub status: WirelessDeviceStatus,
pub request: WirelessDeviceStatusRequest,
pub reason: WirelessDeviceStatusReason,
}Expand description
Represents the data of the WirelessDeviceStatusEvent::StatusBroadcast
event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: WirelessDeviceStatusThe status the device reports to be in.
request: WirelessDeviceStatusRequestThe request the devices expresses towards the host.
reason: WirelessDeviceStatusReasonThe reason for the status broadcast.
Trait Implementations§
Source§impl Clone for WirelessDeviceStatusBroadcast
impl Clone for WirelessDeviceStatusBroadcast
Source§fn clone(&self) -> WirelessDeviceStatusBroadcast
fn clone(&self) -> WirelessDeviceStatusBroadcast
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 WirelessDeviceStatusBroadcast
impl Eq for WirelessDeviceStatusBroadcast
Source§impl Hash for WirelessDeviceStatusBroadcast
impl Hash for WirelessDeviceStatusBroadcast
Source§impl PartialEq for WirelessDeviceStatusBroadcast
impl PartialEq for WirelessDeviceStatusBroadcast
Source§fn eq(&self, other: &WirelessDeviceStatusBroadcast) -> bool
fn eq(&self, other: &WirelessDeviceStatusBroadcast) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WirelessDeviceStatusBroadcast
Auto Trait Implementations§
impl Freeze for WirelessDeviceStatusBroadcast
impl RefUnwindSafe for WirelessDeviceStatusBroadcast
impl Send for WirelessDeviceStatusBroadcast
impl Sync for WirelessDeviceStatusBroadcast
impl Unpin for WirelessDeviceStatusBroadcast
impl UnsafeUnpin for WirelessDeviceStatusBroadcast
impl UnwindSafe for WirelessDeviceStatusBroadcast
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