Expand description
Canonical JSON types and related functions.
Structs§
- The value to put in
unsigned.redacted_because
.
Enums§
- The set of possible errors when serializing to canonical JSON.
- Represents a canonical JSON value as per the Matrix specification.
- A JSON type enum for
RedactionError
variants. - Errors that can happen in redaction.
Traits§
- Marker trait for redaction events.
Functions§
- Redacts an event using the rules specified in the Matrix client-server specification.
- Redacts event content using the rules specified in the Matrix client-server specification.
- Redacts an event using the rules specified in the Matrix client-server specification.
- Fallible conversion from any value that impl’s
Serialize
to aCanonicalJsonValue
. - Fallible conversion from a
serde_json::Map
to aCanonicalJsonObject
.
Type Aliases§
- The inner type of
CanonicalJsonValue::Object
.