Trait cassandra_cpp::AsRustType [−][src]
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
fn get(&self, index: usize) -> Result<T>
[src]
Expand description
convert while reading cassandra columns
fn get_by_name<S>(&self, name: S) -> Result<T> where
S: Into<String>,
[src]
S: Into<String>,
Expand description
convert while reading cassandra columns by name
Implementors
impl AsRustType<bool> for Row<'_>
[src]
impl AsRustType<bool> for Row<'_>
[src]impl AsRustType<f32> for Row<'_>
[src]
impl AsRustType<f32> for Row<'_>
[src]impl AsRustType<f64> for Row<'_>
[src]
impl AsRustType<f64> for Row<'_>
[src]impl AsRustType<i8> for Row<'_>
[src]
impl AsRustType<i8> for Row<'_>
[src]impl AsRustType<i16> for Row<'_>
[src]
impl AsRustType<i16> for Row<'_>
[src]impl AsRustType<i32> for Row<'_>
[src]
impl AsRustType<i32> for Row<'_>
[src]impl AsRustType<i64> for Row<'_>
[src]
impl AsRustType<i64> for Row<'_>
[src]impl AsRustType<u32> for Row<'_>
[src]
impl AsRustType<u32> for Row<'_>
[src]impl AsRustType<String> for Row<'_>
[src]
impl AsRustType<String> for Row<'_>
[src]impl AsRustType<Uuid> for Row<'_>
[src]
impl AsRustType<Uuid> for Row<'_>
[src]impl AsRustType<Inet> for Row<'_>
[src]
impl AsRustType<Inet> for Row<'_>
[src]impl AsRustType<MapIterator> for Row<'_>
[src]
impl AsRustType<MapIterator> for Row<'_>
[src]fn get(&self, index: usize) -> Result<MapIterator>
[src]
fn get_by_name<S>(&self, name: S) -> Result<MapIterator> where
S: Into<String>,
[src]
S: Into<String>,
impl AsRustType<SetIterator> for Row<'_>
[src]
impl AsRustType<SetIterator> for Row<'_>
[src]fn get(&self, index: usize) -> Result<SetIterator>
[src]
fn get_by_name<S>(&self, name: S) -> Result<SetIterator> where
S: Into<String>,
[src]
S: Into<String>,
impl AsRustType<UserTypeIterator> for Row<'_>
[src]
impl AsRustType<UserTypeIterator> for Row<'_>
[src]fn get(&self, index: usize) -> Result<UserTypeIterator>
[src]
fn get_by_name<S>(&self, name: S) -> Result<UserTypeIterator> where
S: Into<String>,
[src]
S: Into<String>,