Trait cassandra_cpp::AsRustType
source · pub trait AsRustType<T> {
fn get(&self, index: usize) -> Result<T>;
fn get_by_name<S>(&self, name: S) -> Result<T>
where
S: Into<String>;
}
Expand description
Auto inferencing conversion from c* to rust
Required Methods§
sourcefn get_by_name<S>(&self, name: S) -> Result<T>where
S: Into<String>,
fn get_by_name<S>(&self, name: S) -> Result<T>where
S: Into<String>,
convert while reading cassandra columns by name