Skip to content

Commit

Permalink
RUST-1687 improving CollectionOptions::human_readable_serialization
Browse files Browse the repository at this point in the history
… field documentation
  • Loading branch information
maiconpavi committed Aug 11, 2023
1 parent 2f2dc78 commit a39e04e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/coll/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ pub struct CollectionOptions {

/// Sets the [`bson::SerializerOptions::human_readable`] option for the [`Bson`] serializer.
/// The default value is `false`.
/// Note: Specifying `true` for this value will decrease the performance of insert operations.
pub human_readable_serialization: Option<bool>,
}

Expand Down

0 comments on commit a39e04e

Please sign in to comment.