Struct ruma_events::custom::CustomEventContent [−][src]
Expand description
A custom event’s type and content
JSON object.
Fields
event_type: String
The event type string.
data: BTreeMap<String, JsonValue>
The actual content
JSON object.
Trait Implementations
A matrix event identifier, like m.room.message
.
Constructs the given event content.
The redacted form of the event’s content.
Transform self
into a redacted form (removing most or all fields) according to the spec. Read more
Auto Trait Implementations
impl RefUnwindSafe for CustomEventContent
impl Send for CustomEventContent
impl Sync for CustomEventContent
impl Unpin for CustomEventContent
impl UnwindSafe for CustomEventContent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more