pub enum SchemaFilter {
AllowAll,
Whitelist(HashSet<String>),
Blacklist(HashSet<String>),
}Expand description
Schema access filter configuration
Variants§
AllowAll
Allow access to all schemas (default, backward compatible)
Whitelist(HashSet<String>)
Only allow access to specified schemas
Blacklist(HashSet<String>)
Deny access to specified schemas, allow all others
Implementations§
Trait Implementations§
Source§impl Clone for SchemaFilter
impl Clone for SchemaFilter
Source§fn clone(&self) -> SchemaFilter
fn clone(&self) -> SchemaFilter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaFilter
impl Debug for SchemaFilter
Source§impl Default for SchemaFilter
impl Default for SchemaFilter
Source§fn default() -> SchemaFilter
fn default() -> SchemaFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemaFilter
impl RefUnwindSafe for SchemaFilter
impl Send for SchemaFilter
impl Sync for SchemaFilter
impl Unpin for SchemaFilter
impl UnsafeUnpin for SchemaFilter
impl UnwindSafe for SchemaFilter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more