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