Skip to content

Commit d3023e5

Browse files
committed
derive clone copy
1 parent 99c99e2 commit d3023e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/mdbx-remote/src/flags.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ impl EnvironmentFlags {
201201

202202
bitflags! {
203203
#[doc="Database options."]
204-
#[derive(Default)]
204+
#[derive(Default, Clone, Copy)]
205205
pub struct DatabaseFlags: MDBX_env_flags_t {
206206
const REVERSE_KEY = MDBX_REVERSEKEY;
207207
const DUP_SORT = MDBX_DUPSORT;
@@ -216,7 +216,7 @@ bitflags! {
216216

217217
bitflags! {
218218
#[doc="Write options."]
219-
#[derive(Default)]
219+
#[derive(Default, Clone, Copy)]
220220
pub struct WriteFlags: MDBX_env_flags_t {
221221
const UPSERT = MDBX_UPSERT;
222222
const NO_OVERWRITE = MDBX_NOOVERWRITE;

0 commit comments

Comments
 (0)