pub enum SecondaryIndexStatement {
Create(CreateIndexStatement),
Drop(DropIndexStatement),
}Variants
Create(CreateIndexStatement)
Drop(DropIndexStatement)
Trait Implementations
sourceimpl Clone for SecondaryIndexStatement
impl Clone for SecondaryIndexStatement
sourcefn clone(&self) -> SecondaryIndexStatement
fn clone(&self) -> SecondaryIndexStatement
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 SecondaryIndexStatement
impl<'a> CustomToTokens<'a> for SecondaryIndexStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for SecondaryIndexStatement
impl Debug for SecondaryIndexStatement
sourceimpl Display for SecondaryIndexStatement
impl Display for SecondaryIndexStatement
sourceimpl From<CreateIndexStatement> for SecondaryIndexStatement
impl From<CreateIndexStatement> for SecondaryIndexStatement
sourcefn from(original: CreateIndexStatement) -> SecondaryIndexStatement
fn from(original: CreateIndexStatement) -> SecondaryIndexStatement
Converts to this type from the input type.
sourceimpl From<DropIndexStatement> for SecondaryIndexStatement
impl From<DropIndexStatement> for SecondaryIndexStatement
sourcefn from(original: DropIndexStatement) -> SecondaryIndexStatement
fn from(original: DropIndexStatement) -> SecondaryIndexStatement
Converts to this type from the input type.
sourceimpl From<SecondaryIndexStatement> for Statement
impl From<SecondaryIndexStatement> for Statement
sourcefn from(original: SecondaryIndexStatement) -> Statement
fn from(original: SecondaryIndexStatement) -> Statement
Converts to this type from the input type.
sourceimpl FromStr for SecondaryIndexStatement
impl FromStr for SecondaryIndexStatement
sourceimpl Parse for SecondaryIndexStatement
impl Parse for SecondaryIndexStatement
type Output = SecondaryIndexStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<SecondaryIndexStatement> for SecondaryIndexStatement
impl PartialEq<SecondaryIndexStatement> for SecondaryIndexStatement
sourcefn eq(&self, other: &SecondaryIndexStatement) -> bool
fn eq(&self, other: &SecondaryIndexStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SecondaryIndexStatement) -> bool
fn ne(&self, other: &SecondaryIndexStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for SecondaryIndexStatement
impl ToTokens for SecondaryIndexStatement
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 SecondaryIndexStatement
impl TryFrom<Statement> for SecondaryIndexStatement
impl Eq for SecondaryIndexStatement
impl StructuralEq for SecondaryIndexStatement
impl StructuralPartialEq for SecondaryIndexStatement
Auto Trait Implementations
impl RefUnwindSafe for SecondaryIndexStatement
impl Send for SecondaryIndexStatement
impl Sync for SecondaryIndexStatement
impl Unpin for SecondaryIndexStatement
impl UnwindSafe for SecondaryIndexStatement
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