pub fn new(collection: NewCollection) -> Self {
        CreateCollection {
            collection,
            #[cfg(feature = "cluster")]
            wait_for_sync_replication: true,
        }
    }
/// Constructs a new instance of the `CreateCollection` method with the
/// given `NewCollection` parameters.
Constructs a new instance of the `CreateCollection` method with the
given `NewCollection` parameters.
Constructs a new instance of the ` CreateCollection ` method with the given ` NewCollection ` parameters .
pub fn new(collection: NewCollection) -> Self {
        CreateCollection {
            collection,
            #[cfg(feature = "cluster")]
            wait_for_sync_replication: true,
        }
    }
pub fn new ( collection : NewCollection ) -> Self { CreateCollection { collection , # [ cfg ( feature " " ) ] wait_for_sync_replication : true , } }
Constructs a new instance of the `CreateCollection` method with the
given `NewCollection` parameters.
Constructs a new instance of the ` CreateCollection ` method with the given ` NewCollection ` parameters .
collection
NewCollection
collection
NewCollection