pub struct Grantee {
pub grantee_type: GranteesType,
pub name: Option<GranteeName>,
}Expand description
The principal that receives the privileges
Fields§
§grantee_type: GranteesTypeThe category/type of grantee (role, user, share, etc.).
name: Option<GranteeName>Optional name of the grantee (identifier or user@host).
Trait Implementations§
Source§impl Ord for Grantee
impl Ord for Grantee
Source§impl PartialOrd for Grantee
impl PartialOrd for Grantee
Source§impl VisitMut for Grantee
impl VisitMut for Grantee
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for Grantee
impl StructuralPartialEq for Grantee
Auto Trait Implementations§
impl Freeze for Grantee
impl RefUnwindSafe for Grantee
impl Send for Grantee
impl Sync for Grantee
impl Unpin for Grantee
impl UnsafeUnpin for Grantee
impl UnwindSafe for Grantee
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