pub struct CapabilityDenial {
pub id: CapabilityId,
pub reason: String,
}Fields§
§id: CapabilityId§reason: StringImplementations§
Trait Implementations§
Source§impl Clone for CapabilityDenial
impl Clone for CapabilityDenial
Source§fn clone(&self) -> CapabilityDenial
fn clone(&self) -> CapabilityDenial
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CapabilityDenial
impl Debug for CapabilityDenial
Source§impl<'de> Deserialize<'de> for CapabilityDenial
impl<'de> Deserialize<'de> for CapabilityDenial
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
impl Eq for CapabilityDenial
Source§impl Hash for CapabilityDenial
impl Hash for CapabilityDenial
Source§impl Ord for CapabilityDenial
impl Ord for CapabilityDenial
Source§fn cmp(&self, other: &CapabilityDenial) -> Ordering
fn cmp(&self, other: &CapabilityDenial) -> Ordering
1.21.0 (const: unstable) · 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 CapabilityDenial
impl PartialEq for CapabilityDenial
Source§fn eq(&self, other: &CapabilityDenial) -> bool
fn eq(&self, other: &CapabilityDenial) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CapabilityDenial
impl PartialOrd for CapabilityDenial
Source§impl Serialize for CapabilityDenial
impl Serialize for CapabilityDenial
impl StructuralPartialEq for CapabilityDenial
Auto Trait Implementations§
impl Freeze for CapabilityDenial
impl RefUnwindSafe for CapabilityDenial
impl Send for CapabilityDenial
impl Sync for CapabilityDenial
impl Unpin for CapabilityDenial
impl UnsafeUnpin for CapabilityDenial
impl UnwindSafe for CapabilityDenial
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.