Expand description
Defines CQL values of various types and their representations, as well as conversion between them and other types.
Structs§
- Counter
- Represents an counter value
- CqlDate
- Native CQL date representation that allows for a bigger range of dates (-262145-1-1 to 262143-12-31).
- CqlDecimal
- Native CQL
decimal
representation. - CqlDecimal
Borrowed - Borrowed version of native CQL
decimal
representation. - CqlDuration
- Represents a CQL Duration value
- CqlTime
- Native CQL time representation.
- CqlTimestamp
- Native CQL timestamp representation that allows full supported timestamp range.
- CqlTimeuuid
- Represents timeuuid (uuid V1) value
- CqlVarint
- Native CQL
varint
representation. - CqlVarint
Borrowed - A borrowed version of native CQL
varint
representation. - Row
- A row in a CQL result set, containing a vector of columns.
Each column can be either a
CqlValue
orNone
if the column is null. - Unset
- Represents an unset value
- Value
Overflow - Error type indicating that the value is too large to fit in the destination type.
Enums§
- CqlValue
- Represents all possible CQL values that can be returned by the database.
- Maybe
Unset - Enum providing a way to represent a value that might be unset
Functions§
- deser_
cql_ value - Deserializes any CQL value from a byte slice according to the provided CQL type.