pub enum DbResource {
All,
Db,
Audit,
Backup,
}Variants§
Trait Implementations§
source§impl Clone for DbResource
impl Clone for DbResource
source§fn clone(&self) -> DbResource
fn clone(&self) -> DbResource
Returns a copy of the value. Read more
1.6.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 DbResource
impl Debug for DbResource
source§impl Default for DbResource
impl Default for DbResource
source§fn default() -> DbResource
fn default() -> DbResource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DbResource
impl<'de> Deserialize<'de> for DbResource
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for DbResource
impl Display for DbResource
source§impl Ord for DbResource
impl Ord for DbResource
source§fn cmp(&self, other: &DbResource) -> Ordering
fn cmp(&self, other: &DbResource) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DbResource
impl PartialEq for DbResource
source§impl PartialOrd for DbResource
impl PartialOrd for DbResource
source§impl Serialize for DbResource
impl Serialize for DbResource
source§impl<'__s> ToSchema<'__s> for DbResource
impl<'__s> ToSchema<'__s> for DbResource
impl Copy for DbResource
impl Eq for DbResource
impl StructuralPartialEq for DbResource
Auto Trait Implementations§
impl Freeze for DbResource
impl RefUnwindSafe for DbResource
impl Send for DbResource
impl Sync for DbResource
impl Unpin for DbResource
impl UnwindSafe for DbResource
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.