Struct scylladb_parse::TaggedCreateRoleStatement
source · [−]pub struct TaggedCreateRoleStatement {
pub if_not_exists: bool,
pub name: Tag<Name>,
pub options: Option<Tag<BTreeSet<RoleOpt>>>,
}Fields
if_not_exists: boolname: Tag<Name>options: Option<Tag<BTreeSet<RoleOpt>>>Trait Implementations
sourceimpl Clone for TaggedCreateRoleStatement
impl Clone for TaggedCreateRoleStatement
sourcefn clone(&self) -> TaggedCreateRoleStatement
fn clone(&self) -> TaggedCreateRoleStatement
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 TaggedCreateRoleStatement
impl<'a> CustomToTokens<'a> for TaggedCreateRoleStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for TaggedCreateRoleStatement
impl Debug for TaggedCreateRoleStatement
sourceimpl From<TaggedCreateRoleStatement> for TaggedRoleStatement
impl From<TaggedCreateRoleStatement> for TaggedRoleStatement
sourcefn from(original: TaggedCreateRoleStatement) -> TaggedRoleStatement
fn from(original: TaggedCreateRoleStatement) -> TaggedRoleStatement
Converts to this type from the input type.
sourceimpl From<TaggedCreateRoleStatement> for TaggedStatement
impl From<TaggedCreateRoleStatement> for TaggedStatement
sourcefn from(v: TaggedCreateRoleStatement) -> Self
fn from(v: TaggedCreateRoleStatement) -> Self
Converts to this type from the input type.
sourceimpl FromStr for TaggedCreateRoleStatement
impl FromStr for TaggedCreateRoleStatement
sourceimpl Parse for TaggedCreateRoleStatement
impl Parse for TaggedCreateRoleStatement
type Output = TaggedCreateRoleStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<TaggedCreateRoleStatement> for TaggedCreateRoleStatement
impl PartialEq<TaggedCreateRoleStatement> for TaggedCreateRoleStatement
sourcefn eq(&self, other: &TaggedCreateRoleStatement) -> bool
fn eq(&self, other: &TaggedCreateRoleStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TaggedCreateRoleStatement) -> bool
fn ne(&self, other: &TaggedCreateRoleStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for TaggedCreateRoleStatement
impl ToTokens for TaggedCreateRoleStatement
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
impl Eq for TaggedCreateRoleStatement
impl StructuralEq for TaggedCreateRoleStatement
impl StructuralPartialEq for TaggedCreateRoleStatement
Auto Trait Implementations
impl RefUnwindSafe for TaggedCreateRoleStatement
impl Send for TaggedCreateRoleStatement
impl Sync for TaggedCreateRoleStatement
impl Unpin for TaggedCreateRoleStatement
impl UnwindSafe for TaggedCreateRoleStatement
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