mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 08:49:27 +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]
|
[package]
|
||||||
name = "rusqlite"
|
name = "rusqlite"
|
||||||
version = "0.9.4"
|
version = "0.9.5"
|
||||||
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
|
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
|
||||||
description = "Ergonomic wrapper for SQLite"
|
description = "Ergonomic wrapper for SQLite"
|
||||||
repository = "https://github.com/jgallagher/rusqlite"
|
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)
|
# Version 0.9.4 (2017-01-25)
|
||||||
|
|
||||||
* Update dependencies.
|
* Update dependencies.
|
||||||
|
@ -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>),
|
||||||
|
Loading…
Reference in New Issue
Block a user