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