#[repr(i32)]pub enum RoleSpecType {
Undefined = 0,
RolespecCstring = 1,
RolespecCurrentUser = 2,
RolespecSessionUser = 3,
RolespecPublic = 4,
}
Variants§
Undefined = 0
RolespecCstring = 1
RolespecCurrentUser = 2
RolespecSessionUser = 3
RolespecPublic = 4
Implementations§
Trait Implementations§
Source§impl Clone for RoleSpecType
impl Clone for RoleSpecType
Source§fn clone(&self) -> RoleSpecType
fn clone(&self) -> RoleSpecType
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 RoleSpecType
impl Debug for RoleSpecType
Source§impl Default for RoleSpecType
impl Default for RoleSpecType
Source§fn default() -> RoleSpecType
fn default() -> RoleSpecType
Returns the “default value” for a type. Read more
Source§impl From<RoleSpecType> for i32
impl From<RoleSpecType> for i32
Source§fn from(value: RoleSpecType) -> i32
fn from(value: RoleSpecType) -> i32
Converts to this type from the input type.
Source§impl Hash for RoleSpecType
impl Hash for RoleSpecType
Source§impl Ord for RoleSpecType
impl Ord for RoleSpecType
Source§fn cmp(&self, other: &RoleSpecType) -> Ordering
fn cmp(&self, other: &RoleSpecType) -> Ordering
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 PartialEq for RoleSpecType
impl PartialEq for RoleSpecType
Source§impl PartialOrd for RoleSpecType
impl PartialOrd for RoleSpecType
impl Copy for RoleSpecType
impl Eq for RoleSpecType
impl StructuralPartialEq for RoleSpecType
Auto Trait Implementations§
impl Freeze for RoleSpecType
impl RefUnwindSafe for RoleSpecType
impl Send for RoleSpecType
impl Sync for RoleSpecType
impl Unpin for RoleSpecType
impl UnwindSafe for RoleSpecType
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