Enum scylladb_parse::NativeType
source · [−]pub enum NativeType {
Show 21 variants
Ascii,
Bigint,
Blob,
Boolean,
Counter,
Date,
Decimal,
Double,
Duration,
Float,
Inet,
Int,
Smallint,
Text,
Time,
Timestamp,
Timeuuid,
Tinyint,
Uuid,
Varchar,
Varint,
}Variants
Ascii
Bigint
Blob
Boolean
Counter
Date
Decimal
Double
Duration
Float
Inet
Int
Smallint
Text
Time
Timestamp
Timeuuid
Tinyint
Uuid
Varchar
Varint
Trait Implementations
sourceimpl Clone for NativeType
impl Clone for NativeType
sourcefn clone(&self) -> NativeType
fn clone(&self) -> NativeType
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 NativeType
impl<'a> CustomToTokens<'a> for NativeType
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for NativeType
impl Debug for NativeType
sourceimpl Display for NativeType
impl Display for NativeType
sourceimpl From<NativeType> for CqlType
impl From<NativeType> for CqlType
sourcefn from(original: NativeType) -> CqlType
fn from(original: NativeType) -> CqlType
Converts to this type from the input type.
sourceimpl FromStr for NativeType
impl FromStr for NativeType
sourceimpl Hash for NativeType
impl Hash for NativeType
sourceimpl Ord for NativeType
impl Ord for NativeType
sourceimpl Parse for NativeType
impl Parse for NativeType
type Output = NativeType
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output> where
Self: Sized,
sourceimpl PartialEq<NativeType> for NativeType
impl PartialEq<NativeType> for NativeType
sourceimpl PartialOrd<NativeType> for NativeType
impl PartialOrd<NativeType> for NativeType
sourcefn partial_cmp(&self, other: &NativeType) -> Option<Ordering>
fn partial_cmp(&self, other: &NativeType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl ToTokens for NativeType
impl ToTokens for NativeType
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 NativeType
impl Eq for NativeType
impl StructuralEq for NativeType
impl StructuralPartialEq for NativeType
Auto Trait Implementations
impl RefUnwindSafe for NativeType
impl Send for NativeType
impl Sync for NativeType
impl Unpin for NativeType
impl UnwindSafe for NativeType
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