pub enum DbResource {
All,
Db,
Audit,
Backup,
}Variants§
Trait Implementations§
Source§impl Serialize for DbResource
impl Serialize for DbResource
Source§impl Clone for DbResource
impl Clone for DbResource
Source§fn clone(&self) -> DbResource
fn clone(&self) -> DbResource
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 ComposeSchema for DbResource
impl ComposeSchema for DbResource
Source§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 From<&str> for DbResource
impl From<&str> for DbResource
Source§impl From<DbResource> for DbValue
impl From<DbResource> for DbValue
Source§fn from(value: DbResource) -> Self
fn from(value: DbResource) -> Self
Converts to this type from the input type.
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 ToSchema for DbResource
impl ToSchema for DbResource
Source§impl TryFrom<DbValue> for DbResource
impl TryFrom<DbValue> 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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PartialSchema for Twhere
T: ComposeSchema + ?Sized,
impl<T> PartialSchema for Twhere
T: ComposeSchema + ?Sized,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.