ruma_events::location

Type Alias LocationEvent

Source
pub type LocationEvent = MessageLikeEvent<LocationEventContent>;
Expand description

An m.location event.

Aliased Type§

enum LocationEvent {
    Original(OriginalMessageLikeEvent<LocationEventContent>),
    Redacted(RedactedMessageLikeEvent<RedactedLocationEventContent>),
}

Variants§

§

Original(OriginalMessageLikeEvent<LocationEventContent>)

Original, unredacted form of the event.

§

Redacted(RedactedMessageLikeEvent<RedactedLocationEventContent>)

Redacted form of the event with minimal fields.