Module cdrs::types
[−]
[src]
Modules
data_serialization_types | |
list | |
map | |
rows | |
udt | |
value |
Structs
CBytes |
The structure that represents Cassandra byte type |
CBytesShort |
Cassandra short bytes |
CString | |
CStringList | |
CStringLong |
Constants
INT_LEN | |
LONG_STR_LEN |
Cassandra types |
SHORT_LEN |
Traits
AsRust |
Should be used to represent a single column as a Rust value. |
IntoRustByName |
Should be used to return a single column as Rust value by its name. |
Functions
cursor_next_value | |
from_bytes |
Converts byte-array into u64 |
from_i_bytes |
Converts byte-array into i64 |
from_u16_bytes |
Converts byte-array into u16 |
i_to_n_bytes | |
to_int |
Convers integer into Cassandra's [int] |
to_n_bytes |
Converts u64 numerical value into array of n bytes |
to_short |
Converts number u64 into Cassandra's [short]. |
try_f32_from_bytes | |
try_f64_from_bytes | |
try_from_bytes | |
try_i32_from_bytes | |
try_i_from_bytes | |
try_i_to_n_bytes | |
try_to_n_bytes |
Tries to converts u64 numerical value into array of n bytes. |
try_u16_from_bytes |
Type Definitions
CInt |
Cassandra int type. |
CIntShort |
Cassandra int short type. |