pub struct Outcome {
pub accepted: bool,
pub code: OutcomeCode,
pub message: String,
pub transforms_applied: u32,
}Expand description
Result of enforcing a redaction policy.
Fields§
§accepted: boolWhether the record is accepted.
code: OutcomeCodeStable outcome code.
message: StringHuman-readable message.
transforms_applied: u32Number of transforms applied.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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