[][src]Enum ruma_client_api::r0::push::PushFormat

pub enum PushFormat {
    EventIdOnly,
}

A special format that the homeserver should use when sending notifications to a Push Gateway. Currently, only "event_id_only" is supported as of Push Gateway API r0.1.1

Variants

EventIdOnly

Require the homeserver to only send a reduced set of fields in the push.

Trait Implementations

impl Clone for PushFormat[src]

impl Copy for PushFormat[src]

impl Debug for PushFormat[src]

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

impl Serialize for PushFormat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,