Enum bonsaidb::server::DefaultPermissions
source · pub enum DefaultPermissions {
AllowAll,
Permissions(Permissions),
}
Expand description
The default permissions to use for all connections to the server.
Variants§
AllowAll
Allow all permissions. Do not use outside of completely trusted environments.
Permissions(Permissions)
A defined set of permissions.
Trait Implementations§
source§impl Clone for DefaultPermissions
impl Clone for DefaultPermissions
source§fn clone(&self) -> DefaultPermissions
fn clone(&self) -> DefaultPermissions
Returns a copy 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 DefaultPermissions
impl Debug for DefaultPermissions
source§impl From<DefaultPermissions> for Permissions
impl From<DefaultPermissions> for Permissions
source§fn from(permissions: DefaultPermissions) -> Permissions
fn from(permissions: DefaultPermissions) -> Permissions
Converts to this type from the input type.
source§impl From<Permissions> for DefaultPermissions
impl From<Permissions> for DefaultPermissions
source§fn from(permissions: Permissions) -> DefaultPermissions
fn from(permissions: Permissions) -> DefaultPermissions
Converts to this type from the input type.
source§impl From<Statement> for DefaultPermissions
impl From<Statement> for DefaultPermissions
source§fn from(permissions: Statement) -> DefaultPermissions
fn from(permissions: Statement) -> DefaultPermissions
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DefaultPermissions
impl Send for DefaultPermissions
impl Sync for DefaultPermissions
impl Unpin for DefaultPermissions
impl UnwindSafe for DefaultPermissions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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