pub fn to_name<N>(self, name: N) -> RenameCollection
    where
        N: Into<String>,
    {
        RenameCollection {
            name: self.collection_name,
            rename_to: RenameTo::new(name),
        }
    }
/// Constructs a new instance of the `RenameCollection` method for the
/// collection name of this builder and the given new name.
Constructs a new instance of the `RenameCollection` method for the
collection name of this builder and the given new name.
Constructs a new instance of the ` RenameCollection ` method for the collection name of this builder and the given new name .
pub fn to_name<N>(self, name: N) -> RenameCollection
    where
        N: Into<String>,
    {
        RenameCollection {
            name: self.collection_name,
            rename_to: RenameTo::new(name),
        }
    }
pub fn to_name < N > ( self , name : N ) -> RenameCollection where N : Into < String > , { RenameCollection { name : self . collection_name , rename_to : RenameTo :: new ( name ) , } }
Constructs a new instance of the `RenameCollection` method for the
collection name of this builder and the given new name.
Constructs a new instance of the ` RenameCollection ` method for the collection name of this builder and the given new name .
self
name
N
self
name
N