Skip to content

Commit 4ba2cfe

Browse files
Peter Majchraksaghm
authored andcommitted
Derive Clone for DatabaseOptions (#109)
1 parent 3c6c90e commit 4ba2cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::{
1212

1313
/// These are the valid options for creating a [`Database`](../struct.Database.html) with
1414
/// [`Client::database_with_options`](../struct.Client.html#method.database_with_options).
15-
#[derive(Debug, Default, TypedBuilder)]
15+
#[derive(Clone, Debug, Default, TypedBuilder)]
1616
pub struct DatabaseOptions {
1717
/// The default read preference for operations.
1818
#[builder(default)]

0 commit comments

Comments
 (0)