pub trait FromSqliteRow: Sized {
// Required method
fn from_row(row: &Row<'_>) -> Result<Self, FromSqliteRowError>;
}Expand description
Trait for converting a SQLite row to a Rust type.
This trait is implemented for types that can be deserialized from a SQLite row.
Required Methods§
Sourcefn from_row(row: &Row<'_>) -> Result<Self, FromSqliteRowError>
fn from_row(row: &Row<'_>) -> Result<Self, FromSqliteRowError>
Convert a SQLite row to this type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl FromSqliteRow for Value
Implement FromSqliteRow for JSON values.
impl FromSqliteRow for Value
Implement FromSqliteRow for JSON values.