Module timeline

Source
Expand description

A high-level view into a room’s contents.

See Timeline for details.

Re-exports§

pub use self::event_type_filter::TimelineEventTypeFilter;

Modules§

event_type_filter
futures

Structs§

EventTimelineItem
An item in the timeline that represents at least one event.
InReplyToDetails
Details about an event being replied to.
MemberProfileChange
An event changing a member’s profile.
Message
An m.room.message event or extensible event, including edits.
OtherState
A state event that doesn’t have its own variant.
PollResult
PollState
Holds the state of a poll.
Profile
The display name and avatar URL of a room member.
ReactionInfo
Information about a single reaction stored in ReactionsByKeyBySender.
ReactionsByKeyBySender
Reactions grouped by key first, then by sender.
RepliedToEvent
An event that is replied to.
RepliedToInfo
Information needed to reply to an event.
RoomMembershipChange
An event changing a room membership.
Sticker
An m.sticker event.
Timeline
A high-level view into a regular¹ room’s contents.
TimelineBuilder
Builder that allows creating and configuring various parts of a Timeline.
TimelineItem
A single entry in timeline.
TimelineUniqueId
Opaque unique identifier for a timeline item.

Enums§

AnyOtherFullStateEventContent
An enum over all the full state event contents that don’t have their own TimelineItemContent variant.
AttachmentSource
A source for sending an attachment.
DateDividerMode
Changes how dividers get inserted, either in between each day or in between each month
EditError
EncryptedMessage
Metadata about an m.room.encrypted event that could not be decrypted.
Error
Errors specific to the timeline.
EventItemOrigin
Where this event came.
EventSendState
This type represents the “send state” of a local event timeline item.
LiveBackPaginationStatus
Status for the back-pagination on a live timeline.
MembershipChange
An enum over all the possible room membership changes.
PaginationError
ReactionStatus
What’s the status of a reaction?
RedactError
ReplyContent
The content of a reply.
RoomPinnedEventsChange
The type of change between the previous and current pinned events.
SendEventError
TimelineDetails
Some details of an EventTimelineItem that may require server requests other than just the regular [sync_events][ruma::api::client::sync::sync_events].
TimelineEventItemId
A wrapper that can contain either a transaction id, or an event id.
TimelineFocus
What should the timeline focus on?
TimelineItemContent
The content of an EventTimelineItem.
TimelineItemKind
The type of timeline item.
UnsupportedEditItem
UnsupportedReplyItem
VirtualTimelineItem
A TimelineItem that doesn’t correspond to an event.

Traits§

RoomExt

Functions§

default_event_filter
The default event filter for crate::timeline::TimelineBuilder::event_filter.

Type Aliases§

TimelineEventFilterFn