Struct scylladb_parse::StatementOpt
source · [−]pub struct StatementOpt {
pub name: Name,
pub value: StatementOptValue,
}Fields
name: Namevalue: StatementOptValueImplementations
sourceimpl StatementOpt
impl StatementOpt
pub fn new<N: Into<Name>>(name: N, value: StatementOptValue) -> Self
Trait Implementations
sourceimpl Clone for StatementOpt
impl Clone for StatementOpt
sourcefn clone(&self) -> StatementOpt
fn clone(&self) -> StatementOpt
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 StatementOpt
impl<'a> CustomToTokens<'a> for StatementOpt
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for StatementOpt
impl Debug for StatementOpt
sourceimpl Display for StatementOpt
impl Display for StatementOpt
sourceimpl FromStr for StatementOpt
impl FromStr for StatementOpt
sourceimpl Parse for StatementOpt
impl Parse for StatementOpt
type Output = StatementOpt
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<StatementOpt> for StatementOpt
impl PartialEq<StatementOpt> for StatementOpt
sourcefn eq(&self, other: &StatementOpt) -> bool
fn eq(&self, other: &StatementOpt) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StatementOpt) -> bool
fn ne(&self, other: &StatementOpt) -> bool
This method tests for !=.
sourceimpl ToTokens for StatementOpt
impl ToTokens for StatementOpt
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<TaggedStatementOpt> for StatementOpt
impl TryFrom<TaggedStatementOpt> for StatementOpt
impl Eq for StatementOpt
impl StructuralEq for StatementOpt
impl StructuralPartialEq for StatementOpt
Auto Trait Implementations
impl RefUnwindSafe for StatementOpt
impl Send for StatementOpt
impl Sync for StatementOpt
impl Unpin for StatementOpt
impl UnwindSafe for StatementOpt
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