pub trait FromSqlOwnedwhere
Self: Sized,{
// Required method
fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>;
}
Expand description
A conversion trait from a TDS type by-value.
Required Methods§
Sourcefn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>
fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>
Returns the value, None
being a null value, taking the ownership.
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.