Trait RedactContent
pub trait RedactContent {
type Redacted;
// Required method
fn redact(self, rules: &RedactionRules) -> Self::Redacted;
}
Expand description
Trait to define the behavior of redact an event’s content object.
Required Associated Types§
type Redacted
type Redacted
The redacted form of the event’s content.