pub struct RoleGrantOption {
pub name: Ident,
pub value: RoleGrantOptionValue,
}Expand description
An option of a role membership, such as ADMIN OPTION or SET FALSE.
Fields§
§name: IdentThe option name, such as ADMIN, INHERIT or SET.
value: RoleGrantOptionValueThe value it is set to.
Trait Implementations§
Source§impl Clone for RoleGrantOption
impl Clone for RoleGrantOption
Source§fn clone(&self) -> RoleGrantOption
fn clone(&self) -> RoleGrantOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoleGrantOption
impl Debug for RoleGrantOption
Source§impl Display for RoleGrantOption
impl Display for RoleGrantOption
impl Eq for RoleGrantOption
Source§impl Hash for RoleGrantOption
impl Hash for RoleGrantOption
Source§impl Ord for RoleGrantOption
impl Ord for RoleGrantOption
Source§fn cmp(&self, other: &RoleGrantOption) -> Ordering
fn cmp(&self, other: &RoleGrantOption) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RoleGrantOption
impl PartialEq for RoleGrantOption
Source§impl PartialOrd for RoleGrantOption
impl PartialOrd for RoleGrantOption
impl StructuralPartialEq for RoleGrantOption
Auto Trait Implementations§
impl Freeze for RoleGrantOption
impl RefUnwindSafe for RoleGrantOption
impl Send for RoleGrantOption
impl Sync for RoleGrantOption
impl Unpin for RoleGrantOption
impl UnsafeUnpin for RoleGrantOption
impl UnwindSafe for RoleGrantOption
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