Enum scylladb_parse::JavaTimeUnit
source · [−]pub enum JavaTimeUnit {
Minutes,
Hours,
Days,
}Variants
Minutes
Hours
Days
Trait Implementations
sourceimpl Clone for JavaTimeUnit
impl Clone for JavaTimeUnit
sourcefn clone(&self) -> JavaTimeUnit
fn clone(&self) -> JavaTimeUnit
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 JavaTimeUnit
impl<'a> CustomToTokens<'a> for JavaTimeUnit
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for JavaTimeUnit
impl Debug for JavaTimeUnit
sourceimpl Display for JavaTimeUnit
impl Display for JavaTimeUnit
sourceimpl FromStr for JavaTimeUnit
impl FromStr for JavaTimeUnit
sourceimpl Parse for JavaTimeUnit
impl Parse for JavaTimeUnit
type Output = JavaTimeUnit
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<JavaTimeUnit> for JavaTimeUnit
impl PartialEq<JavaTimeUnit> for JavaTimeUnit
sourceimpl ToTokens for JavaTimeUnit
impl ToTokens for JavaTimeUnit
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 Copy for JavaTimeUnit
impl Eq for JavaTimeUnit
impl StructuralEq for JavaTimeUnit
impl StructuralPartialEq for JavaTimeUnit
Auto Trait Implementations
impl RefUnwindSafe for JavaTimeUnit
impl Send for JavaTimeUnit
impl Sync for JavaTimeUnit
impl Unpin for JavaTimeUnit
impl UnwindSafe for JavaTimeUnit
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