Trait ruma_events::RedactContent
source · pub trait RedactContent {
type Redacted;
// Required method
fn redact(self, version: &RoomVersionId) -> Self::Redacted;
}
Expand description
Trait to define the behavior of redact an event’s content object.