Enum ruma_state_res::room_version::EventFormatVersion[][src]

pub enum EventFormatVersion {
    V1,
    V2,
    V3,
}

Variants

V1

$id:server event id format

V2

MSC1659-style $hash event id format: introduced for room v3

V3

MSC1884-style $hash format: introduced for room v4

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.