pub struct Stored {
pub name: Option<String>,
pub grant: Grant,
}Expand description
A grant as stored: what was allowed, and what the device was called.
Fields§
§name: Option<String>The name the device had when it was granted.
grant: GrantWhat it was granted access to.
Trait Implementations§
impl Eq for Stored
impl StructuralPartialEq for Stored
Auto Trait Implementations§
impl Forget for Stored
impl Freeze for Stored
impl Move for Stored
impl RefUnwindSafe for Stored
impl Send for Stored
impl Sync for Stored
impl Unpin for Stored
impl UnsafeUnpin for Stored
impl UnwindSafe for Stored
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