ruma::events::location

Type Alias SyncLocationEvent

Source
pub type SyncLocationEvent = SyncMessageLikeEvent<LocationEventContent>;
Available on crate features events and unstable-msc3488 only.
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.