Enum cassandra_cpp_sys::CassValueType_

source ·
#[repr(u32)]
pub enum CassValueType_ {
Show 29 variants CASS_VALUE_TYPE_UNKNOWN = 65_535, CASS_VALUE_TYPE_CUSTOM = 0, CASS_VALUE_TYPE_ASCII = 1, CASS_VALUE_TYPE_BIGINT = 2, CASS_VALUE_TYPE_BLOB = 3, CASS_VALUE_TYPE_BOOLEAN = 4, CASS_VALUE_TYPE_COUNTER = 5, CASS_VALUE_TYPE_DECIMAL = 6, CASS_VALUE_TYPE_DOUBLE = 7, CASS_VALUE_TYPE_FLOAT = 8, CASS_VALUE_TYPE_INT = 9, CASS_VALUE_TYPE_TEXT = 10, CASS_VALUE_TYPE_TIMESTAMP = 11, CASS_VALUE_TYPE_UUID = 12, CASS_VALUE_TYPE_VARCHAR = 13, CASS_VALUE_TYPE_VARINT = 14, CASS_VALUE_TYPE_TIMEUUID = 15, CASS_VALUE_TYPE_INET = 16, CASS_VALUE_TYPE_DATE = 17, CASS_VALUE_TYPE_TIME = 18, CASS_VALUE_TYPE_SMALL_INT = 19, CASS_VALUE_TYPE_TINY_INT = 20, CASS_VALUE_TYPE_DURATION = 21, CASS_VALUE_TYPE_LIST = 32, CASS_VALUE_TYPE_MAP = 33, CASS_VALUE_TYPE_SET = 34, CASS_VALUE_TYPE_UDT = 48, CASS_VALUE_TYPE_TUPLE = 49, CASS_VALUE_TYPE_LAST_ENTRY = 50,
}

Variants§

§

CASS_VALUE_TYPE_UNKNOWN = 65_535

§

CASS_VALUE_TYPE_CUSTOM = 0

§

CASS_VALUE_TYPE_ASCII = 1

§

CASS_VALUE_TYPE_BIGINT = 2

§

CASS_VALUE_TYPE_BLOB = 3

§

CASS_VALUE_TYPE_BOOLEAN = 4

§

CASS_VALUE_TYPE_COUNTER = 5

§

CASS_VALUE_TYPE_DECIMAL = 6

§

CASS_VALUE_TYPE_DOUBLE = 7

§

CASS_VALUE_TYPE_FLOAT = 8

§

CASS_VALUE_TYPE_INT = 9

§

CASS_VALUE_TYPE_TEXT = 10

§

CASS_VALUE_TYPE_TIMESTAMP = 11

§

CASS_VALUE_TYPE_UUID = 12

§

CASS_VALUE_TYPE_VARCHAR = 13

§

CASS_VALUE_TYPE_VARINT = 14

§

CASS_VALUE_TYPE_TIMEUUID = 15

§

CASS_VALUE_TYPE_INET = 16

§

CASS_VALUE_TYPE_DATE = 17

§

CASS_VALUE_TYPE_TIME = 18

§

CASS_VALUE_TYPE_SMALL_INT = 19

§

CASS_VALUE_TYPE_TINY_INT = 20

§

CASS_VALUE_TYPE_DURATION = 21

§

CASS_VALUE_TYPE_LIST = 32

§

CASS_VALUE_TYPE_MAP = 33

§

CASS_VALUE_TYPE_SET = 34

§

CASS_VALUE_TYPE_UDT = 48

§

CASS_VALUE_TYPE_TUPLE = 49

§

CASS_VALUE_TYPE_LAST_ENTRY = 50

Trait Implementations§

source§

impl Clone for CassValueType_

source§

fn clone(&self) -> CassValueType_

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CassValueType_

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for CassValueType_

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for CassValueType_

source§

fn eq(&self, other: &CassValueType_) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for CassValueType_

source§

impl Eq for CassValueType_

source§

impl StructuralPartialEq for CassValueType_

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.