Expand description
SDK-specific variations of response types from Ruma.
Structs§
- Ambiguity
Change - A change in ambiguity of room members that an
m.room.member
event triggers. - Ambiguity
Changes - Collection of ambiguity changes that room member events trigger.
- Decrypted
Room Event - A successfully-decrypted encrypted event.
- Display
Name - A high-level wrapper for strings representing display names.
- Encryption
Info - Struct containing information on how an event was decrypted.
- Members
Response - A deserialized response for the rooms members API call.
- Timeline
Event - Represents a matrix room event that has been returned from
/sync
, after initial processing. - Unable
ToDecrypt Info - Metadata about an event that could not be decrypted.
Enums§
- Algorithm
Info - The algorithm specific information of a decrypted event.
- AnySync
OrStripped State - Wrapper around both versions of any state event.
- Device
Link Problem - The sub-enum containing detailed information on why we were not able to link a message back to a device.
- RawAny
Sync OrStripped State - Wrapper around both versions of any raw state event.
- RawAny
Sync OrStripped Timeline Event - Wrapper around both versions of any event received via sync.
- RawSync
OrStripped State - Wrapper around both versions of a raw state event.
- Shield
State - Recommended decorations for decrypted messages, representing the message’s authenticity properties.
- Shield
State Code - A machine-readable representation of the authenticity for a
ShieldState
. - Sync
OrStripped State - Wrapper around both versions of a state event.
- Timeline
Event Kind - The event within a
TimelineEvent
, together with encryption data. - Unable
ToDecrypt Reason - Reason code for a decryption failure
- Unsigned
Decryption Result - The result of the decryption of an event bundled in an
unsigned
object. - Unsigned
Event Location - The location of an event bundled in an
unsigned
object. - Verification
Level - The sub-enum containing detailed information on why a message is considered to be unverified.
- Verification
State - Represents the state of verification for a decrypted message sent by a device.
- Withheld
Code - A machine-readable code for why a Megolm key was not sent.
Constants§
Functions§
- deserialize_
utd_ reason - Provides basic backward compatibility for deserializing older serialized
UnableToDecryptReason
values.
Type Aliases§
- Member
Event - Wrapper around both MemberEvent-Types
- RawMember
Event - Raw version of
MemberEvent
.