pub enum SecretKind {
Show 13 variants
ApiKey,
AccessToken,
RefreshToken,
Password,
ClientSecret,
PrivateKey,
Certificate,
WebhookSecret,
SigningSecret,
DatabaseUrl,
ConnectionString,
SshKey,
Unknown,
}Expand description
Secret kind labels.
Variants§
ApiKey
AccessToken
RefreshToken
Password
ClientSecret
PrivateKey
Certificate
WebhookSecret
SigningSecret
DatabaseUrl
ConnectionString
SshKey
Unknown
Implementations§
Trait Implementations§
Source§impl Clone for SecretKind
impl Clone for SecretKind
Source§fn clone(&self) -> SecretKind
fn clone(&self) -> SecretKind
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 SecretKind
impl Debug for SecretKind
Source§impl Display for SecretKind
impl Display for SecretKind
Source§impl FromStr for SecretKind
impl FromStr for SecretKind
Source§type Err = SecretParseError
type Err = SecretParseError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<SecretKind, <SecretKind as FromStr>::Err>
fn from_str(input: &str) -> Result<SecretKind, <SecretKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SecretKind
impl Hash for SecretKind
Source§impl Ord for SecretKind
impl Ord for SecretKind
Source§fn cmp(&self, other: &SecretKind) -> Ordering
fn cmp(&self, other: &SecretKind) -> 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 SecretKind
impl PartialEq for SecretKind
Source§fn eq(&self, other: &SecretKind) -> bool
fn eq(&self, other: &SecretKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SecretKind
impl PartialOrd for SecretKind
impl Copy for SecretKind
impl Eq for SecretKind
impl StructuralPartialEq for SecretKind
Auto Trait Implementations§
impl Freeze for SecretKind
impl RefUnwindSafe for SecretKind
impl Send for SecretKind
impl Sync for SecretKind
impl Unpin for SecretKind
impl UnsafeUnpin for SecretKind
impl UnwindSafe for SecretKind
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