pub fn new(user_name: String, database: String, collection: String, grant: Permission) -> Self {
        SetCollectionAccessLevel {
            user_name,
            database,
            collection,
            access_level: NewAccessLevel::new(grant),
        }
    }
/// Constructs a new instance of the `SetCollectionAccessLevel` method.
Constructs a new instance of the `SetCollectionAccessLevel` method.
Constructs a new instance of the ` SetCollectionAccessLevel ` method .
pub fn new(user_name: String, database: String, collection: String, grant: Permission) -> Self {
        SetCollectionAccessLevel {
            user_name,
            database,
            collection,
            access_level: NewAccessLevel::new(grant),
        }
    }
pub fn new ( user_name : String , database : String , collection : String , grant : Permission ) -> Self { SetCollectionAccessLevel { user_name , database , collection , access_level : NewAccessLevel :: new ( grant ) , } }
Constructs a new instance of the `SetCollectionAccessLevel` method.
Constructs a new instance of the ` SetCollectionAccessLevel ` method .
user_name
String
database
String
collection
String
grant
Permission
user_name
String
database
String
collection
String
grant
Permission