pub struct RedactStats {
pub tables_processed: usize,
pub rows_redacted: u64,
pub columns_redacted: u64,
pub table_stats: Vec<TableRedactStats>,
pub warnings: Vec<String>,
}Expand description
Statistics from redaction operation
Fields§
§tables_processed: usizeNumber of tables processed
rows_redacted: u64Number of rows redacted
columns_redacted: u64Number of columns redacted
table_stats: Vec<TableRedactStats>Per-table statistics
warnings: Vec<String>Warning messages
Trait Implementations§
Source§impl Debug for RedactStats
impl Debug for RedactStats
Source§impl Default for RedactStats
impl Default for RedactStats
Source§fn default() -> RedactStats
fn default() -> RedactStats
Returns the “default value” for a type. Read more
Source§impl JsonSchema for RedactStats
impl JsonSchema for RedactStats
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RedactStats
impl RefUnwindSafe for RedactStats
impl Send for RedactStats
impl Sync for RedactStats
impl Unpin for RedactStats
impl UnwindSafe for RedactStats
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more