[][src]Struct ruma_events::room::third_party_invite::ThirdPartyInviteEventContent

pub struct ThirdPartyInviteEventContent {
    pub display_name: String,
    pub key_validity_url: String,
    pub public_key: String,
    pub public_keys: Option<Vec<PublicKey>>,
}

The payload for ThirdPartyInviteEvent.

Fields

display_name: String

A user-readable string which represents the user who has been invited.

key_validity_url: String

A URL which can be fetched to validate whether the key has been revoked.

public_key: String

A Base64-encoded Ed25519 key with which the token must be signed.

public_keys: Option<Vec<PublicKey>>

Keys with which the token may be signed.

Trait Implementations

impl Clone for ThirdPartyInviteEventContent[src]

impl Debug for ThirdPartyInviteEventContent[src]

impl FromRaw for ThirdPartyInviteEventContent[src]

type Raw = ThirdPartyInviteEventContent

The raw type.

impl Serialize for ThirdPartyInviteEventContent[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> 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>,