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