Skip to main content

DomainDropAuthority

Trait DomainDropAuthority 

Source
pub trait DomainDropAuthority {
    // Required methods
    fn schema_usage(&self, schema: &str, role: &str) -> bool;
    fn current_user_has_role_privileges(&self, role: &str) -> bool;
}

Required Methods§

Source

fn schema_usage(&self, schema: &str, role: &str) -> bool

Source

fn current_user_has_role_privileges(&self, role: &str) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§