pub fn revoke_collection_access<N, Db, Coll>(
        &self,
        username: N,
        database: Db,
        collection: Coll,
    ) -> Result<Empty>
    where
        N: Into<String>,
        Db: Into<String>,
        Coll: Into<String>,
    {
        self.execute(SetCollectionAccessLevel::new(
            username.into(),
            database.into(),
            collection.into(),
            Permission::None,
        ))
    }
/// Revokes the access to the specified collection for the given user.
///
/// After this call the given user has no access to the specified
/// collection.
///
/// The user set in the `Connector` must have permission to write to the
/// system database in order to execute this method.
///
/// # Arguments
///
/// * `username` : the name of the user for which access shall be revoked
/// * `database` : the name of the database where the collection is located
/// * `collection` : the name of the collection from which access shall be
/// revoked
Revokes the access to the specified collection for the given user.
After this call the given user has no access to the specified
collection.

The user set in the `Connector` must have permission to write to the
system database in order to execute this method.
Revokes the access to the specified collection for the given user . After this call the given user has no access to the specified collection . The user set in the ` Connector ` must have permission to write to the system database in order to execute this method .
pub fn revoke_collection_access<N, Db, Coll>(
        &self,
        username: N,
        database: Db,
        collection: Coll,
    ) -> Result<Empty>
    where
        N: Into<String>,
        Db: Into<String>,
        Coll: Into<String>,
    {
        self.execute(SetCollectionAccessLevel::new(
            username.into(),
            database.into(),
            collection.into(),
            Permission::None,
        ))
    }
pub fn revoke_collection_access < N , Db , Coll > ( & self , username : N , database : Db , collection : Coll , ) -> Result < Empty > where N : Into < String > , Db : Into < String > , Coll : Into < String > , { self . execute ( SetCollectionAccessLevel :: new ( username . into ( ) , database . into ( ) , collection . into ( ) , Permission :: None , ) ) }
Revokes the access to the specified collection for the given user.
Revokes the access to the specified collection for the given user .
&self
username
N
database
Db
collection
Coll
&self
username
N
database
Db
collection
Coll