pub enum CapabilityEntry {
Deny,
Allow(BTreeSet<String>),
}Expand description
Variants§
Deny
Explicit deny. Wins over any wildcard allow for the same principal.
Allow(BTreeSet<String>)
Allow the listed capabilities. ["*"] grants all capabilities.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityEntry
impl Clone for CapabilityEntry
Source§impl Debug for CapabilityEntry
impl Debug for CapabilityEntry
Source§impl<'de> Deserialize<'de> for CapabilityEntry
impl<'de> Deserialize<'de> for CapabilityEntry
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CapabilityEntry
Source§impl PartialEq for CapabilityEntry
impl PartialEq for CapabilityEntry
Source§impl Serialize for CapabilityEntry
impl Serialize for CapabilityEntry
impl StructuralPartialEq for CapabilityEntry
Auto Trait Implementations§
impl Forget for CapabilityEntry
impl Freeze for CapabilityEntry
impl Move for CapabilityEntry
impl RefUnwindSafe for CapabilityEntry
impl Send for CapabilityEntry
impl Sync for CapabilityEntry
impl Unpin for CapabilityEntry
impl UnsafeUnpin for CapabilityEntry
impl UnwindSafe for CapabilityEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.