Function ruma::canonical_json::redact_content_in_place
source ยท pub fn redact_content_in_place(
object: &mut BTreeMap<String, CanonicalJsonValue>,
version: &RoomVersionId,
event_type: impl AsRef<str>,
) -> Result<(), RedactionError>
Expand description
Redacts event content using the rules specified in the Matrix client-server specification.
Edits the object
in-place.