Struct cassandra_cpp::Tuple [−][src]
pub struct Tuple(_);
Expand description
A tuple of values.
Implementations
impl Tuple
[src]
impl Tuple
[src]pub fn new_from_data_type(data_type: DataType) -> Tuple
[src]
pub fn new_from_data_type(data_type: DataType) -> Tuple
[src]Creates a new tuple from an existing data type.
pub fn set_null(&mut self, index: usize) -> Result<&mut Self>
[src]
pub fn set_null(&mut self, index: usize) -> Result<&mut Self>
[src]Sets an null in a tuple at the specified index.
pub fn set_int8(&mut self, index: usize, value: i8) -> Result<&mut Self>
[src]
pub fn set_int8(&mut self, index: usize, value: i8) -> Result<&mut Self>
[src]Sets a “tinyint” in a tuple at the specified index.
pub fn set_int16(&mut self, index: usize, value: i16) -> Result<&mut Self>
[src]
pub fn set_int16(&mut self, index: usize, value: i16) -> Result<&mut Self>
[src]Sets an “smallint” in a tuple at the specified index.
pub fn set_int32(&mut self, index: usize, value: i32) -> Result<&mut Self>
[src]
pub fn set_int32(&mut self, index: usize, value: i32) -> Result<&mut Self>
[src]Sets an “int” in a tuple at the specified index.
pub fn set_uint32(&mut self, index: usize, value: u32) -> Result<&mut Self>
[src]
pub fn set_uint32(&mut self, index: usize, value: u32) -> Result<&mut Self>
[src]Sets a “date” in a tuple at the specified index.
pub fn set_int64(&mut self, index: usize, value: i64) -> Result<&mut Self>
[src]
pub fn set_int64(&mut self, index: usize, value: i64) -> Result<&mut Self>
[src]Sets a “bigint”, “counter”, “timestamp” or “time” in a tuple at the specified index.
pub fn set_float(&mut self, index: usize, value: f32) -> Result<&mut Self>
[src]
pub fn set_float(&mut self, index: usize, value: f32) -> Result<&mut Self>
[src]Sets a “float” in a tuple at the specified index.
pub fn set_double(&mut self, index: usize, value: f64) -> Result<&mut Self>
[src]
pub fn set_double(&mut self, index: usize, value: f64) -> Result<&mut Self>
[src]Sets a “double” in a tuple at the specified index.
pub fn set_bool(&mut self, index: usize, value: bool) -> Result<&mut Self>
[src]
pub fn set_bool(&mut self, index: usize, value: bool) -> Result<&mut Self>
[src]Sets a “boolean” in a tuple at the specified index.
pub fn set_string<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<String>,
[src]
pub fn set_string<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<String>,
[src]Sets an “ascii”, “text” or “varchar” in a tuple at the specified index.
pub fn set_bytes(&mut self, index: usize, value: Vec<u8>) -> Result<&mut Self>
[src]
pub fn set_bytes(&mut self, index: usize, value: Vec<u8>) -> Result<&mut Self>
[src]Sets a “blob”, “varint” or “custom” in a tuple at the specified index.
pub fn set_uuid<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<Uuid>,
[src]
pub fn set_uuid<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<Uuid>,
[src]Sets a “uuid” or “timeuuid” in a tuple at the specified index.
pub fn set_inet(&mut self, index: usize, value: IpAddr) -> Result<&mut Self>
[src]
pub fn set_inet(&mut self, index: usize, value: IpAddr) -> Result<&mut Self>
[src]Sets an “inet” in a tuple at the specified index.
pub fn set_list<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<List>,
[src]
pub fn set_list<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<List>,
[src]Sets a list in a tuple at the specified index.
pub fn set_map<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<Map>,
[src]
pub fn set_map<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<Map>,
[src]Sets a map in a tuple at the specified index.
pub fn set_set<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<Set>,
[src]
pub fn set_set<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where
S: Into<Set>,
[src]Sets a set“ in a tuple at the specified index.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,