pub enum Permission {
Create,
Alter,
Drop,
Select,
Modify,
Authorize,
Describe,
Execute,
}
Variants§
Trait Implementations§
Source§impl Clone for Permission
impl Clone for Permission
Source§fn clone(&self) -> Permission
fn clone(&self) -> Permission
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for Permission
impl<'a> CustomToTokens<'a> for Permission
Source§impl Debug for Permission
impl Debug for Permission
Source§impl Display for Permission
impl Display for Permission
Source§impl From<Permission> for PermissionKind
impl From<Permission> for PermissionKind
Source§fn from(p: Permission) -> Self
fn from(p: Permission) -> Self
Converts to this type from the input type.
Source§impl FromStr for Permission
impl FromStr for Permission
Source§impl Parse for Permission
impl Parse for Permission
type Output = Permission
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for Permission
impl PartialEq for Permission
Source§impl ToTokens for Permission
impl ToTokens for Permission
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for Permission
impl StructuralPartialEq for Permission
Auto Trait Implementations§
impl Freeze for Permission
impl RefUnwindSafe for Permission
impl Send for Permission
impl Sync for Permission
impl Unpin for Permission
impl UnwindSafe for Permission
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