pub enum RoleStatement {
Create(CreateRoleStatement),
Alter(AlterRoleStatement),
Drop(DropRoleStatement),
Grant(GrantRoleStatement),
Revoke(RevokeRoleStatement),
List(ListRolesStatement),
}
Variants§
Create(CreateRoleStatement)
Alter(AlterRoleStatement)
Drop(DropRoleStatement)
Grant(GrantRoleStatement)
Revoke(RevokeRoleStatement)
List(ListRolesStatement)
Trait Implementations§
Source§impl Clone for RoleStatement
impl Clone for RoleStatement
Source§fn clone(&self) -> RoleStatement
fn clone(&self) -> RoleStatement
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 RoleStatement
impl<'a> CustomToTokens<'a> for RoleStatement
Source§impl Debug for RoleStatement
impl Debug for RoleStatement
Source§impl Display for RoleStatement
impl Display for RoleStatement
Source§impl From<AlterRoleStatement> for RoleStatement
impl From<AlterRoleStatement> for RoleStatement
Source§fn from(original: AlterRoleStatement) -> RoleStatement
fn from(original: AlterRoleStatement) -> RoleStatement
Converts to this type from the input type.
Source§impl From<CreateRoleStatement> for RoleStatement
impl From<CreateRoleStatement> for RoleStatement
Source§fn from(original: CreateRoleStatement) -> RoleStatement
fn from(original: CreateRoleStatement) -> RoleStatement
Converts to this type from the input type.
Source§impl From<DropRoleStatement> for RoleStatement
impl From<DropRoleStatement> for RoleStatement
Source§fn from(original: DropRoleStatement) -> RoleStatement
fn from(original: DropRoleStatement) -> RoleStatement
Converts to this type from the input type.
Source§impl From<GrantRoleStatement> for RoleStatement
impl From<GrantRoleStatement> for RoleStatement
Source§fn from(original: GrantRoleStatement) -> RoleStatement
fn from(original: GrantRoleStatement) -> RoleStatement
Converts to this type from the input type.
Source§impl From<ListRolesStatement> for RoleStatement
impl From<ListRolesStatement> for RoleStatement
Source§fn from(original: ListRolesStatement) -> RoleStatement
fn from(original: ListRolesStatement) -> RoleStatement
Converts to this type from the input type.
Source§impl From<RevokeRoleStatement> for RoleStatement
impl From<RevokeRoleStatement> for RoleStatement
Source§fn from(original: RevokeRoleStatement) -> RoleStatement
fn from(original: RevokeRoleStatement) -> RoleStatement
Converts to this type from the input type.
Source§impl From<RoleStatement> for Statement
impl From<RoleStatement> for Statement
Source§fn from(original: RoleStatement) -> Statement
fn from(original: RoleStatement) -> Statement
Converts to this type from the input type.
Source§impl FromStr for RoleStatement
impl FromStr for RoleStatement
Source§impl Parse for RoleStatement
impl Parse for RoleStatement
type Output = RoleStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for RoleStatement
impl PartialEq for RoleStatement
Source§impl ToTokens for RoleStatement
impl ToTokens for RoleStatement
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,
Source§impl TryFrom<RoleStatement> for AlterRoleStatement
impl TryFrom<RoleStatement> for AlterRoleStatement
Source§impl TryFrom<RoleStatement> for CreateRoleStatement
impl TryFrom<RoleStatement> for CreateRoleStatement
Source§impl TryFrom<RoleStatement> for DropRoleStatement
impl TryFrom<RoleStatement> for DropRoleStatement
Source§impl TryFrom<RoleStatement> for GrantRoleStatement
impl TryFrom<RoleStatement> for GrantRoleStatement
Source§impl TryFrom<RoleStatement> for ListRolesStatement
impl TryFrom<RoleStatement> for ListRolesStatement
Source§impl TryFrom<RoleStatement> for RevokeRoleStatement
impl TryFrom<RoleStatement> for RevokeRoleStatement
Source§impl TryFrom<Statement> for RoleStatement
impl TryFrom<Statement> for RoleStatement
Source§impl TryFrom<TaggedRoleStatement> for RoleStatement
impl TryFrom<TaggedRoleStatement> for RoleStatement
impl Eq for RoleStatement
impl StructuralPartialEq for RoleStatement
Auto Trait Implementations§
impl Freeze for RoleStatement
impl RefUnwindSafe for RoleStatement
impl Send for RoleStatement
impl Sync for RoleStatement
impl Unpin for RoleStatement
impl UnwindSafe for RoleStatement
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