#[non_exhaustive]pub enum CredentialMode {
Deny,
Mask,
Other(String),
}Expand description
sandbox.credentials.*.mode.
Docs: sandbox.credentials.files.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Deny
Hide it from sandboxed commands.
Mask
Show sandboxed commands a placeholder.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for CredentialMode
impl AsRef<str> for CredentialMode
Source§impl Clone for CredentialMode
impl Clone for CredentialMode
Source§impl Debug for CredentialMode
impl Debug for CredentialMode
Source§impl<'de> Deserialize<'de> for CredentialMode
impl<'de> Deserialize<'de> for CredentialMode
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CredentialMode
impl Display for CredentialMode
impl Eq for CredentialMode
Source§impl From<&str> for CredentialMode
impl From<&str> for CredentialMode
Source§impl From<String> for CredentialMode
impl From<String> for CredentialMode
Source§impl Hash for CredentialMode
impl Hash for CredentialMode
Source§impl Ord for CredentialMode
impl Ord for CredentialMode
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CredentialMode
impl PartialEq for CredentialMode
Source§impl PartialOrd for CredentialMode
impl PartialOrd for CredentialMode
Source§impl Serialize for CredentialMode
impl Serialize for CredentialMode
impl StructuralPartialEq for CredentialMode
Auto Trait Implementations§
impl Forget for CredentialMode
impl Freeze for CredentialMode
impl Move for CredentialMode
impl RefUnwindSafe for CredentialMode
impl Send for CredentialMode
impl Sync for CredentialMode
impl Unpin for CredentialMode
impl UnsafeUnpin for CredentialMode
impl UnwindSafe for CredentialMode
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