pub struct RedactionStats {
pub bearer_tokens: u32,
pub api_keys: u32,
pub jwts: u32,
pub emails: u32,
pub db_credentials: u32,
pub env_secrets: u32,
}Expand description
Per-category redaction counts. Useful for two things: telling the control plane what kinds of secrets the bundle had (which is itself a diagnostic signal — “this log has JWTs in it, suggesting auth attempts”), and for trust-page reporting (“we redacted 12,847 secrets last month”).
Fields§
§bearer_tokens: u32§api_keys: u32§jwts: u32§emails: u32§db_credentials: u32§env_secrets: u32Trait Implementations§
Source§impl Clone for RedactionStats
impl Clone for RedactionStats
Source§fn clone(&self) -> RedactionStats
fn clone(&self) -> RedactionStats
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 RedactionStats
impl Debug for RedactionStats
Source§impl Default for RedactionStats
impl Default for RedactionStats
Source§fn default() -> RedactionStats
fn default() -> RedactionStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RedactionStats
impl<'de> Deserialize<'de> for RedactionStats
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
Source§impl PartialEq for RedactionStats
impl PartialEq for RedactionStats
Source§fn eq(&self, other: &RedactionStats) -> bool
fn eq(&self, other: &RedactionStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RedactionStats
impl Serialize for RedactionStats
impl StructuralPartialEq for RedactionStats
Auto Trait Implementations§
impl Freeze for RedactionStats
impl RefUnwindSafe for RedactionStats
impl Send for RedactionStats
impl Sync for RedactionStats
impl Unpin for RedactionStats
impl UnsafeUnpin for RedactionStats
impl UnwindSafe for RedactionStats
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