mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Derive Clone, Debug, and PartialEq on ToSqlOutput.
This commit is contained in:
parent
6c8b65119f
commit
8054ea4ab8
@ -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>),
|
||||
|
Loading…
Reference in New Issue
Block a user