pub enum SecretKind {
AnthropicApiKey,
OpenAiApiKey,
GroqApiKey,
GoogleApiKey,
GitHubToken,
BearerToken,
PasswordAssignment,
Base64Blob,
}Expand description
The type/category of a detected secret.
Variants§
AnthropicApiKey
Anthropic API key (sk-ant-…)
OpenAiApiKey
OpenAI-style API key (sk-…)
GroqApiKey
Groq API key (gsk_…)
GoogleApiKey
Google AI key (AIza…)
GitHubToken
GitHub personal access token (ghp_…)
BearerToken
Bearer token in header
PasswordAssignment
Password in key=value assignment
Base64Blob
Suspiciously long base64-encoded blob
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 · 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 PartialEq for SecretKind
impl PartialEq 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