pub fn with_name<N>(name: N) -> Self
    where
        N: Into<String>,
    {
        NewDatabase {
            name: name.into(),
            users: Vec::new(),
        }
    }
/// Constructs a new instance of `NewDatabase` with the specified
/// database name.
///
/// The method will be called with an empty user array.
Constructs a new instance of `NewDatabase` with the specified
database name.

The method will be called with an empty user array.
Constructs a new instance of ` NewDatabase ` with the specified database name . The method will be called with an empty user array .
pub fn with_name<N>(name: N) -> Self
    where
        N: Into<String>,
    {
        NewDatabase {
            name: name.into(),
            users: Vec::new(),
        }
    }
pub fn with_name < N > ( name : N ) -> Self where N : Into < String > , { NewDatabase { name : name . into ( ) , users : Vec :: new ( ) , } }
Constructs a new instance of `NewDatabase` with the specified
database name.
Constructs a new instance of ` NewDatabase ` with the specified database name .
name
N
name
N