Struct mongodb::db::options::CreateCollectionOptions
[−]
[src]
pub struct CreateCollectionOptions { pub capped: bool, pub auto_index_id: bool, pub size: Option<i64>, pub max: Option<i64>, pub use_power_of_two_sizes: bool, pub no_padding: bool, }
Fields
capped: bool
auto_index_id: bool
size: Option<i64>
max: Option<i64>
use_power_of_two_sizes: bool
no_padding: bool
Methods
impl CreateCollectionOptions
[src]
fn new() -> CreateCollectionOptions
Trait Implementations
impl Default for CreateCollectionOptions
[src]
fn default() -> CreateCollectionOptions
Returns the "default value" for a type. Read more