pub struct ExternalRequestStatus {
pub event: Option<ExternalRequestEvent>,
pub state: ExternalRequestState,
pub request: Option<ExternalRequest>,
}Available on crate feature
mmc only.Expand description
External requests such as a remote or a button
Fields§
§event: Option<ExternalRequestEvent>Most recent external request event on the device
state: ExternalRequestStateDevice’s ability to respond to the host
request: Option<ExternalRequest>Operation requested or performed via an external request to the device
Trait Implementations§
Source§impl Clone for ExternalRequestStatus
impl Clone for ExternalRequestStatus
Source§fn clone(&self) -> ExternalRequestStatus
fn clone(&self) -> ExternalRequestStatus
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 ExternalRequestStatus
Source§impl Debug for ExternalRequestStatus
impl Debug for ExternalRequestStatus
impl Eq for ExternalRequestStatus
Source§impl Hash for ExternalRequestStatus
impl Hash for ExternalRequestStatus
Source§impl Ord for ExternalRequestStatus
impl Ord for ExternalRequestStatus
Source§fn cmp(&self, other: &ExternalRequestStatus) -> Ordering
fn cmp(&self, other: &ExternalRequestStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExternalRequestStatus
impl PartialEq for ExternalRequestStatus
Source§impl PartialOrd for ExternalRequestStatus
impl PartialOrd for ExternalRequestStatus
impl StructuralPartialEq for ExternalRequestStatus
Auto Trait Implementations§
impl Freeze for ExternalRequestStatus
impl RefUnwindSafe for ExternalRequestStatus
impl Send for ExternalRequestStatus
impl Sync for ExternalRequestStatus
impl Unpin for ExternalRequestStatus
impl UnsafeUnpin for ExternalRequestStatus
impl UnwindSafe for ExternalRequestStatus
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