Enum gm_types::events::Event [] [src]

pub enum Event {
    Full(MetaFullContent),
    Minimal(MetaMinimalContent),
    Redacted(MetaRedacted),
    FullError(MetaFullSerdeError),
    MinimalError(MetaMinimalSerdeError),
}

A Matrix event.

Variants

A full event.

A minimal or ephemeral event.

An event that has been redacted.

A full event where we couldn't deserialize the event content.

A minimal event where we couldn't deserialize the event content.

Trait Implementations

impl Debug for Event
[src]

[src]

Formats the value using the given formatter.

impl<'de> Deserialize<'de> for Event
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more