Trait ruma_events::RawExt[][src]

pub trait RawExt<T: EventContent> {
    fn deserialize_content(&self, event_type: &str) -> Result<T>;
}
Expand description

Extension trait for Raw<_>.

Required methods

Try to deserialize the JSON as an event’s content.

Implementations on Foreign Types

Implementors