pub struct PermissionCancelled {
pub kind: PermissionCancelledKind,
pub reason: Option<String>,
}Fields§
§kind: PermissionCancelledKindThe permission request was cancelled before a response was used
reason: Option<String>Optional explanation of why the request was cancelled
Trait Implementations§
Source§impl Clone for PermissionCancelled
impl Clone for PermissionCancelled
Source§fn clone(&self) -> PermissionCancelled
fn clone(&self) -> PermissionCancelled
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 moreSource§impl Debug for PermissionCancelled
impl Debug for PermissionCancelled
Source§impl<'de> Deserialize<'de> for PermissionCancelled
impl<'de> Deserialize<'de> for PermissionCancelled
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PermissionCancelled
impl RefUnwindSafe for PermissionCancelled
impl Send for PermissionCancelled
impl Sync for PermissionCancelled
impl Unpin for PermissionCancelled
impl UnsafeUnpin for PermissionCancelled
impl UnwindSafe for PermissionCancelled
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