Struct cassandra_cpp::Set[][src]

pub struct Set(_);
Expand description

A Cassandra set

Trait Implementations

impl BindRustType<Set> for Statement[src]

fn bind(&mut self, index: usize, value: Set) -> Result<&mut Self>[src]

binds a rust type to C* by index

fn bind_by_name(&mut self, col: &str, value: Set) -> Result<&mut Self>[src]

binds a rust type to C* by name

impl CassCollection for Set[src]

fn with_capacity(capacity: usize) -> Self[src]

create a new list

fn data_type(&self) -> ConstDataType[src]

Gets the data type of a collection.

fn append_int8(&mut self, value: i8) -> Result<&mut Self>[src]

Appends a “tinyint” to the collection.

fn append_int16(&mut self, value: i16) -> Result<&mut Self>[src]

Appends an “smallint” to the collection.

fn append_int32(&mut self, value: i32) -> Result<&mut Self>[src]

Appends an “int” to the collection.

fn append_uint32(&mut self, value: u32) -> Result<&mut Self>[src]

Appends a “date” to the collection.

fn append_int64(&mut self, value: i64) -> Result<&mut Self>[src]

Appends a “bigint”, “counter”, “timestamp” or “time” to the collection.

fn append_float(&mut self, value: f32) -> Result<&mut Self>[src]

Appends a “float” to the collection.

fn append_double(&mut self, value: f64) -> Result<&mut Self>[src]

Appends a “double” to the collection.

fn append_bool(&mut self, value: bool) -> Result<&mut Self>[src]

Appends a “boolean” to the collection.

fn append_string(&mut self, value: &str) -> Result<&mut Self>[src]

Appends an “ascii”, “text” or “varchar” to the collection.

fn append_bytes(&mut self, value: Vec<u8>) -> Result<&mut Self>[src]

Appends a “blob”, “varint” or “custom” to the collection.

fn append_uuid(&mut self, value: Uuid) -> Result<&mut Self>[src]

Appends a “uuid” or “timeuuid” to the collection.

fn append_inet(&mut self, value: Inet) -> Result<&mut Self>[src]

Appends an “inet” to the collection.

fn append_list(&mut self, value: List) -> Result<&mut Self>[src]

Appends a “list” to the collection.

fn append_set(&mut self, value: Set) -> Result<&mut Self>[src]

Appends a “set” to the collection.

fn append_map(&mut self, value: Map) -> Result<&mut Self>[src]

Appends a “map” to the collection.

fn append_tuple(&mut self, value: Tuple) -> Result<&mut Self>[src]

Appends a “tuple” to the collection.

fn append_user_type(&mut self, value: &UserType) -> Result<&mut Self>[src]

Appends a “udt” to the collection.

type Value = _CassCollection

The type of value held by this collection

fn new_from_data_type(value: DataType, item_count: usize) -> Self[src]

Creates a new collection from an existing data type.

fn new() -> Self[src]

Creates a new collection.

impl Debug for Set[src]

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

Formats the value using the given formatter. Read more

impl Drop for Set[src]

fn drop(&mut self)[src]

Executes the destructor for this type. Read more

impl Send for Set[src]

Auto Trait Implementations

impl RefUnwindSafe for Set

impl !Sync for Set

impl Unpin for Set

impl UnwindSafe for Set

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]