pub struct Grant<G> {
pub privilege: G,
pub with_grant_option: bool,
}Fields§
§privilege: G§with_grant_option: boolWhether grantee can re-grant this grant
Trait Implementations§
Source§impl<'de, G> Deserialize<'de> for Grant<G>where
G: Deserialize<'de>,
impl<'de, G> Deserialize<'de> for Grant<G>where
G: Deserialize<'de>,
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
Source§impl<G: Ord> Ord for Grant<G>
impl<G: Ord> Ord for Grant<G>
Source§impl<G: PartialOrd> PartialOrd for Grant<G>
impl<G: PartialOrd> PartialOrd for Grant<G>
impl<G: Eq> Eq for Grant<G>
impl<G> StructuralPartialEq for Grant<G>
Auto Trait Implementations§
impl<G> Freeze for Grant<G>where
G: Freeze,
impl<G> RefUnwindSafe for Grant<G>where
G: RefUnwindSafe,
impl<G> Send for Grant<G>where
G: Send,
impl<G> Sync for Grant<G>where
G: Sync,
impl<G> Unpin for Grant<G>where
G: Unpin,
impl<G> UnsafeUnpin for Grant<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for Grant<G>where
G: UnwindSafe,
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> Comparable<K> for Q
impl<Q, K> Comparable<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.