Skip to main content

stripped_content

Function stripped_content 

Source
fn stripped_content<'a, T>(
    state: &'a [Raw<AnyStrippedStateEvent>],
    kind: &StateEventType,
) -> Option<T>
where T: Deserialize<'a>,
Expand description

The content of the stripped state event with this type and an empty state key.

The first match wins; an event whose type or state key does not parse is skipped.