mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Add #[deriving(Copy)] as appropriate
This commit is contained in:
parent
13fc87fe11
commit
678fd0f3a3
@ -7,6 +7,7 @@ pub use SqliteTransactionBehavior::{
|
||||
|
||||
/// Options for transaction behavior. See [BEGIN
|
||||
/// TRANSACTION](http://www.sqlite.org/lang_transaction.html) for details.
|
||||
#[deriving(Copy)]
|
||||
pub enum SqliteTransactionBehavior {
|
||||
SqliteTransactionDeferred,
|
||||
SqliteTransactionImmediate,
|
||||
|
@ -141,6 +141,7 @@ impl<T: ToSql> ToSql for Option<T> {
|
||||
/// conn.execute("INSERT INTO people (name) VALUES (?)", &[&Null])
|
||||
/// }
|
||||
/// ```
|
||||
#[deriving(Copy)]
|
||||
pub struct Null;
|
||||
|
||||
impl ToSql for Null {
|
||||
|
Loading…
Reference in New Issue
Block a user