pub struct AclItem<G> {
pub grantee: Option<SmolStr>,
pub grantor: SmolStr,
pub grants: Vec<Grant<G>>,
}Expand description
Access control items, similar to what you’d get if you called aclexplode, except that grants are grouped by grantee/grantor pairs.
Fields§
§grantee: Option<SmolStr>None means the grants are for public
grantor: SmolStrThe role who granted these grants
grants: Vec<Grant<G>>Trait Implementations§
Source§impl<'de, G> Deserialize<'de> for AclItem<G>where
G: Deserialize<'de>,
impl<'de, G> Deserialize<'de> for AclItem<G>where
G: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AclItem<G>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AclItem<G>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<G> Ord for AclItem<G>where
G: Ord,
impl<G> Ord for AclItem<G>where
G: Ord,
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<G> PartialOrd for AclItem<G>where
G: PartialOrd,
impl<G> PartialOrd for AclItem<G>where
G: PartialOrd,
Source§impl<G> Serialize for AclItem<G>where
G: Serialize,
impl<G> Serialize for AclItem<G>where
G: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<G> Eq for AclItem<G>where
G: Eq,
impl<G> StructuralPartialEq for AclItem<G>
Auto Trait Implementations§
impl<G> Freeze for AclItem<G>
impl<G> RefUnwindSafe for AclItem<G>where
G: RefUnwindSafe,
impl<G> Send for AclItem<G>where
G: Send,
impl<G> Sync for AclItem<G>where
G: Sync,
impl<G> Unpin for AclItem<G>where
G: Unpin,
impl<G> UnsafeUnpin for AclItem<G>
impl<G> UnwindSafe for AclItem<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.