Derive Clone, Debug, and PartialEq on ToSqlOutput.

This commit is contained in:
John Gallagher 2017-01-26 22:02:20 -05:00
parent 6c8b65119f
commit 8054ea4ab8

View File

@ -2,6 +2,7 @@ use super::{Null, Value, ValueRef};
use ::Result;
/// `ToSqlOutput` represents the possible output types for implementors of the `ToSql` trait.
#[derive(Clone,Debug,PartialEq)]
pub enum ToSqlOutput<'a> {
/// A borrowed SQLite-representable value.
Borrowed(ValueRef<'a>),