[][src]Enum rusqlite::types::ToSqlOutput

pub enum ToSqlOutput<'a> {
    Borrowed(ValueRef<'a>),
    Owned(Value),
    ZeroBlob(i32),
}

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.

ZeroBlob(i32)

A BLOB of the given length that is filled with zeroes.

Trait Implementations

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

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

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

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

impl<'_> From<String> for ToSqlOutput<'_>[src]

impl<'_> From<Null> for ToSqlOutput<'_>[src]

impl<'_> From<bool> for ToSqlOutput<'_>[src]

impl<'_> From<i8> for ToSqlOutput<'_>[src]

impl<'_> From<i16> for ToSqlOutput<'_>[src]

impl<'_> From<i32> for ToSqlOutput<'_>[src]

impl<'_> From<i64> for ToSqlOutput<'_>[src]

impl<'_> From<isize> for ToSqlOutput<'_>[src]

impl<'_> From<u8> for ToSqlOutput<'_>[src]

impl<'_> From<u16> for ToSqlOutput<'_>[src]

impl<'_> From<u32> for ToSqlOutput<'_>[src]

impl<'_> From<f64> for ToSqlOutput<'_>[src]

impl<'_> From<Vec<u8>> for ToSqlOutput<'_>[src]

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

Auto Trait Implementations

impl<'a> Send for ToSqlOutput<'a>

impl<'a> Sync for ToSqlOutput<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.