pub struct ConstDataType(_);
Expand description

Any cassandra datatype (const).

Implementations

Creates a new user defined type from existing data type.

Gets the value type of the specified data type.

Gets the sub-data type count of a UDT (user defined type), tuple or collection.

Note: Only valid for UDT, tuple and collection data types.

Gets the sub-data type of a UDT (user defined type), tuple or collection at the specified index.

Note: Only valid for UDT, tuple and collection data types.

Returns the type name of the data type, if it’s a UDT.

Returns the type name of the data type, if it’s a UDT.

Gets the sub-type name of a UDT (user defined type) at the specified index.

Note: Only valid for UDT data types.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.