ruma_events::location

Type Alias SyncLocationEvent

Source
pub type SyncLocationEvent = SyncMessageLikeEvent<LocationEventContent>;
Expand description

An m.location event from a sync_events response.

Aliased Type§

enum SyncLocationEvent {
    Original(OriginalSyncMessageLikeEvent<LocationEventContent>),
    Redacted(RedactedSyncMessageLikeEvent<RedactedLocationEventContent>),
}

Variants§

§

Original(OriginalSyncMessageLikeEvent<LocationEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedSyncMessageLikeEvent<RedactedLocationEventContent>)

Redacted form of the event with minimal fields.