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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

This method tests for !=.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]