Enum scylladb_parse::UserStatement
source · [−]pub enum UserStatement {
Create(CreateUserStatement),
Alter(AlterUserStatement),
Drop(DropUserStatement),
List(ListUsersStatement),
}Variants
Create(CreateUserStatement)
Alter(AlterUserStatement)
Drop(DropUserStatement)
List(ListUsersStatement)
Trait Implementations
sourceimpl Clone for UserStatement
impl Clone for UserStatement
sourcefn clone(&self) -> UserStatement
fn clone(&self) -> UserStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for UserStatement
impl<'a> CustomToTokens<'a> for UserStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for UserStatement
impl Debug for UserStatement
sourceimpl Display for UserStatement
impl Display for UserStatement
sourceimpl From<AlterUserStatement> for UserStatement
impl From<AlterUserStatement> for UserStatement
sourcefn from(original: AlterUserStatement) -> UserStatement
fn from(original: AlterUserStatement) -> UserStatement
Converts to this type from the input type.
sourceimpl From<CreateUserStatement> for UserStatement
impl From<CreateUserStatement> for UserStatement
sourcefn from(original: CreateUserStatement) -> UserStatement
fn from(original: CreateUserStatement) -> UserStatement
Converts to this type from the input type.
sourceimpl From<DropUserStatement> for UserStatement
impl From<DropUserStatement> for UserStatement
sourcefn from(original: DropUserStatement) -> UserStatement
fn from(original: DropUserStatement) -> UserStatement
Converts to this type from the input type.
sourceimpl From<ListUsersStatement> for UserStatement
impl From<ListUsersStatement> for UserStatement
sourcefn from(original: ListUsersStatement) -> UserStatement
fn from(original: ListUsersStatement) -> UserStatement
Converts to this type from the input type.
sourceimpl From<UserStatement> for Statement
impl From<UserStatement> for Statement
sourcefn from(original: UserStatement) -> Statement
fn from(original: UserStatement) -> Statement
Converts to this type from the input type.
sourceimpl FromStr for UserStatement
impl FromStr for UserStatement
sourceimpl Parse for UserStatement
impl Parse for UserStatement
type Output = UserStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<UserStatement> for UserStatement
impl PartialEq<UserStatement> for UserStatement
sourcefn eq(&self, other: &UserStatement) -> bool
fn eq(&self, other: &UserStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UserStatement) -> bool
fn ne(&self, other: &UserStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for UserStatement
impl ToTokens for UserStatement
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryFrom<Statement> for UserStatement
impl TryFrom<Statement> for UserStatement
sourceimpl TryFrom<TaggedUserStatement> for UserStatement
impl TryFrom<TaggedUserStatement> for UserStatement
sourceimpl TryFrom<UserStatement> for AlterUserStatement
impl TryFrom<UserStatement> for AlterUserStatement
sourceimpl TryFrom<UserStatement> for ListUsersStatement
impl TryFrom<UserStatement> for ListUsersStatement
sourceimpl TryFrom<UserStatement> for CreateUserStatement
impl TryFrom<UserStatement> for CreateUserStatement
sourceimpl TryFrom<UserStatement> for DropUserStatement
impl TryFrom<UserStatement> for DropUserStatement
impl Eq for UserStatement
impl StructuralEq for UserStatement
impl StructuralPartialEq for UserStatement
Auto Trait Implementations
impl RefUnwindSafe for UserStatement
impl Send for UserStatement
impl Sync for UserStatement
impl Unpin for UserStatement
impl UnwindSafe for UserStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more