Enum cassandra_protocol::frame::message_result::ColType
source · [−]pub enum ColType {
Show 27 variants
Custom,
Ascii,
Bigint,
Blob,
Boolean,
Counter,
Decimal,
Double,
Float,
Int,
Timestamp,
Uuid,
Varchar,
Varint,
Timeuuid,
Inet,
Date,
Time,
Smallint,
Tinyint,
Duration,
List,
Map,
Set,
Udt,
Tuple,
Null,
}
Expand description
Cassandra data types which could be returned by a server.
Variants
Custom
Ascii
Bigint
Blob
Boolean
Counter
Decimal
Double
Float
Int
Timestamp
Uuid
Varchar
Varint
Timeuuid
Inet
Date
Time
Smallint
Tinyint
Duration
List
Map
Set
Udt
Tuple
Null
Trait Implementations
sourceimpl FromBytes for ColType
impl FromBytes for ColType
sourcefn from_bytes(bytes: &[u8]) -> Result<ColType>
fn from_bytes(bytes: &[u8]) -> Result<ColType>
It gets and array of bytes and should return an implementor struct.
sourceimpl FromCursor for ColType
impl FromCursor for ColType
sourceimpl Ord for ColType
impl Ord for ColType
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<ColType> for ColType
impl PartialOrd<ColType> for ColType
sourcefn partial_cmp(&self, other: &ColType) -> Option<Ordering>
fn partial_cmp(&self, other: &ColType) -> Option<Ordering>
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 moreimpl Copy for ColType
impl Eq for ColType
impl StructuralEq for ColType
impl StructuralPartialEq for ColType
Auto Trait Implementations
impl RefUnwindSafe for ColType
impl Send for ColType
impl Sync for ColType
impl Unpin for ColType
impl UnwindSafe for ColType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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