pub trait FromRow: Sized {
// Required method
fn from_row(row: Row) -> Result<Self, FromRowError>;
}
Expand description
This trait defines a way to convert CQL Row into some rust type
pub trait FromRow: Sized {
// Required method
fn from_row(row: Row) -> Result<Self, FromRowError>;
}
This trait defines a way to convert CQL Row into some rust type