Trait ruma_events::RedactedEventContent[][src]

pub trait RedactedEventContent: EventContent { }
Expand description

The base trait that all redacted event content types implement.

This trait’s associated functions and methods should not be used to build redacted events, prefer the redact method on AnyStateEvent and AnyMessageEvent and their “sync” and “stripped” counterparts. The RedactedEventContent trait is an implementation detail, ruma makes no API guarantees.

Implementors