pub struct Redaction {
pub finding_id: String,
pub strategy: RedactionStrategy,
pub original_span: Span,
pub replacement: String,
}Expand description
Record of a redaction that was actually applied.
Fields§
§finding_id: String§strategy: RedactionStrategy§original_span: Span§replacement: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Redaction
impl<'de> Deserialize<'de> for Redaction
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
Auto Trait Implementations§
impl Freeze for Redaction
impl RefUnwindSafe for Redaction
impl Send for Redaction
impl Sync for Redaction
impl Unpin for Redaction
impl UnsafeUnpin for Redaction
impl UnwindSafe for Redaction
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