Enum ruma_client_api::r0::filter::EventFormat [−][src]
pub enum EventFormat { Client, Federation, // some variants omitted }
Expand description
Format to use for returned events.
Variants
Client format, as described in the Client API.
Raw events from federation.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EventFormat
impl Send for EventFormat
impl Sync for EventFormat
impl Unpin for EventFormat
impl UnwindSafe for EventFormat
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more