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> Clone for ToSqlOutput<'a>[src]
fn clone(&self) -> ToSqlOutput<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Debug for ToSqlOutput<'a>[src]
impl<'a> PartialEq for ToSqlOutput<'a>[src]
fn eq(&self, __arg_0: &ToSqlOutput<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ToSqlOutput<'a>) -> bool
This method tests for !=.
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.