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