pub fn documents_with_name<N>(name: N) -> Self
    where
        N: Into<String>,
    {
        CreateCollection {
            collection: NewCollection::documents_with_name(name),
            #[cfg(feature = "cluster")]
            wait_for_sync_replication: true,
        }
    }
/// Constructs a new instance of the `CreateCollection` method that will
/// create a new documents collection with the given name.
///
/// All other parameters will be set to their default values.
Constructs a new instance of the `CreateCollection` method that will
create a new documents collection with the given name.

All other parameters will be set to their default values.
Constructs a new instance of the ` CreateCollection ` method that will create a new documents collection with the given name . All other parameters will be set to their default values .
pub fn documents_with_name<N>(name: N) -> Self
    where
        N: Into<String>,
    {
        CreateCollection {
            collection: NewCollection::documents_with_name(name),
            #[cfg(feature = "cluster")]
            wait_for_sync_replication: true,
        }
    }
pub fn documents_with_name < N > ( name : N ) -> Self where N : Into < String > , { CreateCollection { collection : NewCollection :: documents_with_name ( name ) , # [ cfg ( feature " " ) ] wait_for_sync_replication : true , } }
Constructs a new instance of the `CreateCollection` method that will
create a new documents collection with the given name.
Constructs a new instance of the ` CreateCollection ` method that will create a new documents collection with the given name .
name
N
name
N