[−][src]Struct cassandra_cpp::UserType
A user defined type
Methods
impl UserType
[src]
impl UserType
pub fn data_type(&self) -> ConstDataType | [src] |
Gets the data type of a user defined type.
pub fn set_null(&mut self, index: usize) -> Result<&mut Self> | [src] |
Sets a null in a user defined type at the specified index.
pub fn set_null_by_name<S>(&mut self, name: S) -> Result<&mut Self> where | [src] |
Sets a null in a user defined type at the specified name.
pub fn set_int8(&mut self, index: usize, value: i8) -> Result<&mut Self> | [src] |
Sets a "tinyint" in a user defined type at the specified index.
pub fn set_int8_by_name<S>(&mut self, name: S, value: i8) -> Result<&mut Self> where | [src] |
Sets a "tinyint" in a user defined type at the specified name.
pub fn set_int16(&mut self, index: usize, value: i16) -> Result<&mut Self> | [src] |
Sets an "smallint" in a user defined type at the specified index.
pub fn set_int16_by_name<S>(&mut self, name: S, value: i16) -> Result<&mut Self> where | [src] |
Sets an "smallint" in a user defined type at the specified name.
pub fn set_int32(&mut self, index: usize, value: i32) -> Result<&mut Self> | [src] |
Sets an "int" in a user defined type at the specified index.
pub fn set_int32_by_name<S>(&mut self, name: S, value: i32) -> Result<&mut Self> where | [src] |
Sets an "int" in a user defined type at the specified name.
pub fn set_uint32(&mut self, index: usize, value: u32) -> Result<&mut Self> | [src] |
Sets a "date" in a user defined type at the specified index.
pub fn set_uint32_by_name<S>( | [src] |
Sets a "date" in a user defined type at the specified name.
pub fn set_int64(&mut self, index: usize, value: i64) -> Result<&mut Self> | [src] |
Sets an "bigint", "counter", "timestamp" or "time" in a user defined type at the specified index.
pub fn set_int64_by_name<S>(&mut self, name: S, value: i64) -> Result<&mut Self> where | [src] |
Sets an "bigint", "counter", "timestamp" or "time" in a user defined type at the specified name.
pub fn set_float(&mut self, index: usize, value: f32) -> Result<&mut Self> | [src] |
Sets a "float" in a user defined type at the specified index.
pub fn set_float_by_name<S>(&mut self, name: S, value: f32) -> Result<&mut Self> where | [src] |
Sets a "float" in a user defined type at the specified name.
pub fn set_double(&mut self, index: usize, value: f64) -> Result<&mut Self> | [src] |
Sets an "double" in a user defined type at the specified index.
pub fn set_double_by_name<S>( | [src] |
Sets an "double" in a user defined type at the specified name.
pub fn set_bool(&mut self, index: usize, value: bool) -> Result<&mut Self> | [src] |
Sets a "boolean" in a user defined type at the specified index.
pub fn set_bool_by_name<S>(&mut self, name: S, value: bool) -> Result<&mut Self> where | [src] |
Sets a "boolean" in a user defined type at the specified name.
pub fn set_stringl<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where | [src] |
Sets an "ascii", "text" or "varchar" in a user defined type at the specified index.
pub fn set_string_by_name<S>(&mut self, name: S, value: S) -> Result<&mut Self> where | [src] |
Sets an "ascii", "text" or "varchar" in a user defined type at the specified name.
pub fn set_bytes(&mut self, index: usize, value: Vec<u8>) -> Result<&mut Self> | [src] |
Sets a "blob" "varint" or "custom" in a user defined type at the specified index.
pub fn set_bytes_by_name<S>( | [src] |
Sets a "blob", "varint" or "custom" in a user defined type at the specified name.
pub fn set_uuid<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where | [src] |
Sets a "uuid" or "timeuuid" in a user defined type at the specified index.
pub fn set_uuid_by_name<S, U>(&mut self, name: S, value: U) -> Result<&mut Self> where | [src] |
Sets a "uuid" or "timeuuid" in a user defined type at the specified name.
pub fn set_inet<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where | [src] |
Sets a "inet" in a user defined type at the specified index.
pub fn set_inet_by_name<S, U>(&mut self, name: S, value: U) -> Result<&mut Self> where | [src] |
Sets a "inet" in a user defined type at the specified name.
pub fn set_collection<S>(&mut self, index: usize, value: S) -> Result<&mut Self> where | [src] |
Sets a "list", "map" or "set" in a user defined type at the specified index.
pub fn set_collection_by_name<S>( | [src] |
Sets a "list", "map" or "set" in a user defined type at the specified name.
pub fn set_tuple(&mut self, index: usize, value: Tuple) -> Result<&mut Self> | [src] |
Sets a "tuple" in a user defined type at the specified index.
pub fn set_tuple_by_name<S>( | [src] |
Sets a "tuple" in a user defined type at the specified name.
pub fn set_user_type( | [src] |
Sets a user defined type in a user defined type at the specified index.
pub fn set_user_type_by_name<S>( | [src] |
Sets a user defined type in a user defined type at the specified name.
Trait Implementations
impl<'_> BindRustType<&'_ UserType> for Statement
[src]
impl<'_> BindRustType<&'_ UserType> for Statement
fn bind(&mut self, index: usize, value: &UserType) -> Result<&mut Self> | [src] |
fn bind_by_name(&mut self, col: &str, value: &UserType) -> Result<&mut Self> | [src] |
impl Drop for UserType
[src]
impl Drop for UserType
impl Send for UserType
[src]
impl Send for UserType
impl Debug for UserType
[src]
impl Debug for UserType
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,