pub struct RedactionStats {
pub total_findings: usize,
pub applied_replacements: usize,
pub dropped_findings: usize,
pub llm_configured: bool,
pub llm_request_failed: bool,
pub llm_candidates_accepted: usize,
pub llm_candidates_rejected: usize,
pub llm_error: Option<String>,
}Fields§
§total_findings: usize§applied_replacements: usize§dropped_findings: usize§llm_configured: bool§llm_request_failed: bool§llm_candidates_accepted: usize§llm_candidates_rejected: usize§llm_error: Option<String>Trait 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 Eq 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