Trait ic_sqlite_features::types::FromSql
source · pub trait FromSql: Sized {
// Required method
fn column_result(value: ValueRef<'_>) -> Result<Self, FromSqlError>;
}
Expand description
A trait for types that can be created from a SQLite value.
Required Methods§
sourcefn column_result(value: ValueRef<'_>) -> Result<Self, FromSqlError>
fn column_result(value: ValueRef<'_>) -> Result<Self, FromSqlError>
Converts SQLite value into Rust value.
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl FromSql for Value
impl FromSql for Value
Deserialize text/blob to JSON Value
.