[][src]Trait cassandra_cpp::BindRustType

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>; }

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>

binds a rust type to C* by index

fn bind_by_name(&mut self, col: &str, value: T) -> Result<&mut Statement>

binds a rust type to C* by name

Loading content...

Implementors

impl BindRustType<bool> for Statement[src]

impl BindRustType<f32> for Statement[src]

impl BindRustType<f64> for Statement[src]

impl BindRustType<i16> for Statement[src]

impl BindRustType<i32> for Statement[src]

impl BindRustType<i64> for Statement[src]

impl BindRustType<i8> for Statement[src]

impl BindRustType<u32> for Statement[src]

impl BindRustType<Inet> for Statement[src]

impl BindRustType<List> for Statement[src]

impl BindRustType<Map> for Statement[src]

impl BindRustType<Set> for Statement[src]

impl BindRustType<Tuple> for Statement[src]

impl BindRustType<Uuid> for Statement[src]

impl BindRustType<Vec<u8>> for Statement[src]

impl BindRustType<Uuid> for Statement[src]

impl<'_> BindRustType<&'_ UserType> for Statement[src]

impl<'a> BindRustType<&'a str> for Statement[src]

Loading content...