Module deserialized_responses

Source
Expand description

SDK-specific variations of response types from Ruma.

Structs§

AmbiguityChange
A change in ambiguity of room members that an m.room.member event triggers.
AmbiguityChanges
Collection of ambiguity changes that room member events trigger.
DecryptedRoomEvent
A successfully-decrypted encrypted event.
DisplayName
A high-level wrapper for strings representing display names.
EncryptionInfo
Struct containing information on how an event was decrypted.
MembersResponse
A deserialized response for the rooms members API call.
ThreadSummary
A simplified thread summary.
TimelineEvent
Represents a Matrix room event that has been returned from /sync, after initial processing.
UnableToDecryptInfo
Metadata about an event that could not be decrypted.

Enums§

AlgorithmInfo
The algorithm specific information of a decrypted event.
AnySyncOrStrippedState
Wrapper around both versions of any state event.
DeviceLinkProblem
The sub-enum containing detailed information on why we were not able to link a message back to a device.
ProcessedToDeviceEvent
Represents a to-device event after it has been processed by the Olm machine.
RawAnySyncOrStrippedState
Wrapper around both versions of any raw state event.
RawAnySyncOrStrippedTimelineEvent
Wrapper around both versions of any event received via sync.
RawSyncOrStrippedState
Wrapper around both versions of a raw state event.
ShieldState
Recommended decorations for decrypted messages, representing the message’s authenticity properties.
ShieldStateCode
A machine-readable representation of the authenticity for a ShieldState.
SyncOrStrippedState
Wrapper around both versions of a state event.
ThreadSummaryStatus
The status of a thread summary.
TimelineEventKind
The event within a TimelineEvent, together with encryption data.
UnableToDecryptReason
Reason code for a decryption failure
UnsignedDecryptionResult
The result of the decryption of an event bundled in an unsigned object.
UnsignedEventLocation
The location of an event bundled in an unsigned object.
VerificationLevel
The sub-enum containing detailed information on why a message is considered to be unverified.
VerificationState
Represents the state of verification for a decrypted message sent by a device.
WithheldCode
A machine-readable code for why a Megolm key was not sent.

Constants§

SENT_IN_CLEAR

Functions§

deserialize_utd_reason
Provides basic backward compatibility for deserializing older serialized UnableToDecryptReason values.

Type Aliases§

MemberEvent
Wrapper around both MemberEvent-Types
RawMemberEvent
Raw version of MemberEvent.