pub struct GrantState {
pub privileges: BTreeSet<Privilege>,
}Expand description
The privilege set on a particular grant target.
Fields§
§privileges: BTreeSet<Privilege>Trait Implementations§
Source§impl Clone for GrantState
impl Clone for GrantState
Source§fn clone(&self) -> GrantState
fn clone(&self) -> GrantState
Returns a duplicate of the value. Read more
1.0.0 · 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 GrantState
impl Debug for GrantState
Source§impl PartialEq for GrantState
impl PartialEq for GrantState
Source§impl Serialize for GrantState
impl Serialize for GrantState
impl Eq for GrantState
impl StructuralPartialEq for GrantState
Auto Trait Implementations§
impl Freeze for GrantState
impl RefUnwindSafe for GrantState
impl Send for GrantState
impl Sync for GrantState
impl Unpin for GrantState
impl UnsafeUnpin for GrantState
impl UnwindSafe for GrantState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.