Struct cassandra_cpp::Tuple

source ·
pub struct Tuple(_);
Expand description

A tuple of values.

Implementations§

Creates a new tuple.

Creates a new tuple from an existing data type.

Gets the data type of a tuple.

Sets an null in a tuple at the specified index.

Sets a “tinyint” in a tuple at the specified index.

Sets an “smallint” in a tuple at the specified index.

Sets an “int” in a tuple at the specified index.

Sets a “date” in a tuple at the specified index.

Sets a “bigint”, “counter”, “timestamp” or “time” in a tuple at the specified index.

Sets a “float” in a tuple at the specified index.

Sets a “double” in a tuple at the specified index.

Sets a “boolean” in a tuple at the specified index.

Sets an “ascii”, “text” or “varchar” in a tuple at the specified index.

Sets a “blob”, “varint” or “custom” in a tuple at the specified index.

Sets a “uuid” or “timeuuid” in a tuple at the specified index.

Sets an “inet” in a tuple at the specified index.

Sets a “list”, “map” or “set” in a tuple at the specified index.

Sets a “tuple” in a tuple at the specified index.

Sets a “udt” in a tuple at the specified index.

Trait Implementations§

Formats the value using the given formatter. Read more
Executes the destructor for this type. 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.