Type Alias RemoteLatestEventValue

Source
pub type RemoteLatestEventValue = TimelineEvent;
Expand description

Represents the value for LatestEventValue::Remote.

Aliased Type§

pub struct RemoteLatestEventValue {
    pub kind: TimelineEventKind,
    pub timestamp: Option<MilliSecondsSinceUnixEpoch>,
    pub thread_summary: ThreadSummaryStatus,
    pub bundled_latest_thread_event: Option<Box<TimelineEvent>>,
    /* private fields */
}

Fields§

§kind: TimelineEventKind

The event itself, together with any information on decryption.

§timestamp: Option<MilliSecondsSinceUnixEpoch>

The timestamp of the event. It’s the origin_server_ts value (if any), corrected if detected as malicious.

It can be None if the event has been serialised before the addition of this field, or if parsing the origin_server_ts value failed.

§thread_summary: ThreadSummaryStatus

If the event is part of a thread, a thread summary.

§bundled_latest_thread_event: Option<Box<TimelineEvent>>

The bundled latest thread event, if it was provided in the unsigned relations of this event.

Not serialized.