mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-09 21:12:19 +08:00
Derive Clone, Debug, and PartialEq on ToSqlOutput.
This commit is contained in:
@@ -2,6 +2,7 @@ use super::{Null, Value, ValueRef};
|
|||||||
use ::Result;
|
use ::Result;
|
||||||
|
|
||||||
/// `ToSqlOutput` represents the possible output types for implementors of the `ToSql` trait.
|
/// `ToSqlOutput` represents the possible output types for implementors of the `ToSql` trait.
|
||||||
|
#[derive(Clone,Debug,PartialEq)]
|
||||||
pub enum ToSqlOutput<'a> {
|
pub enum ToSqlOutput<'a> {
|
||||||
/// A borrowed SQLite-representable value.
|
/// A borrowed SQLite-representable value.
|
||||||
Borrowed(ValueRef<'a>),
|
Borrowed(ValueRef<'a>),
|
||||||
|
Reference in New Issue
Block a user