Trait cassandra_cpp::BindRustType [−][src]
pub trait BindRustType<T> {
fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>;
fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>;
}Expand description
All Rust types that can be bound to a cassandra statement //FIXME not yet implemented Any rust type that can have a default bind implementation
Required methods
fn bind(&mut self, index: usize, value: T) -> Result<&mut Statement>[src]
Expand description
binds a rust type to C* by index
fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>[src]
Expand description
binds a rust type to C* by name
Implementors
impl BindRustType<&'_ UserType> for Statement[src]
impl BindRustType<&'_ UserType> for Statement[src]impl BindRustType<bool> for Statement[src]
impl BindRustType<bool> for Statement[src]impl BindRustType<f32> for Statement[src]
impl BindRustType<f32> for Statement[src]impl BindRustType<f64> for Statement[src]
impl BindRustType<f64> for Statement[src]impl BindRustType<i8> for Statement[src]
impl BindRustType<i8> for Statement[src]impl BindRustType<i16> for Statement[src]
impl BindRustType<i16> for Statement[src]impl BindRustType<i32> for Statement[src]
impl BindRustType<i32> for Statement[src]impl BindRustType<i64> for Statement[src]
impl BindRustType<i64> for Statement[src]impl BindRustType<u32> for Statement[src]
impl BindRustType<u32> for Statement[src]impl BindRustType<Uuid> for Statement[src]
impl BindRustType<Uuid> for Statement[src]impl BindRustType<Inet> for Statement[src]
impl BindRustType<Inet> for Statement[src]impl BindRustType<List> for Statement[src]
impl BindRustType<List> for Statement[src]impl BindRustType<Map> for Statement[src]
impl BindRustType<Map> for Statement[src]impl BindRustType<Set> for Statement[src]
impl BindRustType<Set> for Statement[src]impl BindRustType<Tuple> for Statement[src]
impl BindRustType<Tuple> for Statement[src]impl BindRustType<Uuid> for Statement[src]
impl BindRustType<Uuid> for Statement[src]