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>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ToSqlOutput<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for ToSqlOutput<'a>
[src]
fn eq(&self, __arg_0: &ToSqlOutput<'a>) -> bool
[src]
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
[src]
This method tests for !=
.
impl<'a, T: ?Sized> From<&'a T> for ToSqlOutput<'a> where
&'a T: Into<ValueRef<'a>>,
[src]
&'a T: Into<ValueRef<'a>>,