Enum rusqlite::types::ToSqlOutput
[−]
[src]
pub enum ToSqlOutput<'a> {
Borrowed(ValueRef<'a>),
Owned(Value),
}ToSqlOutput represents the possible output types for implementors of the ToSql trait.
Variants
Borrowed(ValueRef<'a>)A borrowed SQLite-representable value.
Owned(Value)An owned SQLite-representable value.
Trait Implementations
impl<'a, T: ?Sized> From<&'a T> for ToSqlOutput<'a> where &'a T: Into<ValueRef<'a>>[src]
fn from(t: &'a T) -> Self
Performs the conversion.
impl<'a, T: Into<Value>> From<T> for ToSqlOutput<'a>[src]
fn from(t: T) -> Self
Performs the conversion.