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

A borrowed SQLite-representable value.

An owned SQLite-representable value.

Trait Implementations

impl<'a> Clone for ToSqlOutput<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for ToSqlOutput<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ToSqlOutput<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, T: ?Sized> From<&'a T> for ToSqlOutput<'a> where &'a T: Into<ValueRef<'a>>
[src]

Performs the conversion.

impl<'a, T: Into<Value>> From<T> for ToSqlOutput<'a>
[src]

Performs the conversion.

impl<'a> ToSql for ToSqlOutput<'a>
[src]