mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Merge pull request #217 from jgallagher/tosqloutput-derive-traits
Derive Clone, Debug, and PartialEq on ToSqlOutput.
This commit is contained in:
commit
186da8d9ad
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rusqlite"
|
||||
version = "0.9.4"
|
||||
version = "0.9.5"
|
||||
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
|
||||
description = "Ergonomic wrapper for SQLite"
|
||||
repository = "https://github.com/jgallagher/rusqlite"
|
||||
|
@ -1,3 +1,7 @@
|
||||
# Version 0.9.5 (2017-01-26)
|
||||
|
||||
* Add impls of `Clone`, `Debug`, and `PartialEq` to `ToSqlOutput`.
|
||||
|
||||
# Version 0.9.4 (2017-01-25)
|
||||
|
||||
* Update dependencies.
|
||||
|
@ -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