pub struct PermissionState {
pub granted: bool,
}
Fields§
§granted: bool
Trait Implementations§
Source§impl Clone for PermissionState
impl Clone for PermissionState
Source§fn clone(&self) -> PermissionState
fn clone(&self) -> PermissionState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PermissionState
impl Debug for PermissionState
Source§impl Default for PermissionState
impl Default for PermissionState
Source§fn default() -> PermissionState
fn default() -> PermissionState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PermissionState
impl<'de> Deserialize<'de> for PermissionState
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 PermissionState
impl RefUnwindSafe for PermissionState
impl Send for PermissionState
impl Sync for PermissionState
impl Unpin for PermissionState
impl UnwindSafe for PermissionState
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