[][src]Struct ruma_client_api::r0::membership::Invite3pid

pub struct Invite3pid<'a> {
    pub id_server: &'a str,
    pub id_access_token: &'a str,
    pub medium: Medium,
    pub address: &'a str,
}

Represents third party IDs to invite to the room.

Fields

id_server: &'a str

Hostname and port of identity server to be used for account lookups.

id_access_token: &'a str

An access token registered with the identity server.

medium: Medium

Type of third party ID.

address: &'a str

Third party identifier.

Trait Implementations

impl<'a> Clone for Invite3pid<'a>[src]

impl<'a> Debug for Invite3pid<'a>[src]

impl<'a> Outgoing for Invite3pid<'a>[src]

type Incoming = IncomingInvite3pid

The 'Incoming' variant of Self.

impl<'a> PartialEq<Invite3pid<'a>> for Invite3pid<'a>[src]

impl<'a> Serialize for Invite3pid<'a>[src]

impl<'a> StructuralPartialEq for Invite3pid<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Invite3pid<'a>[src]

impl<'a> Send for Invite3pid<'a>[src]

impl<'a> Sync for Invite3pid<'a>[src]

impl<'a> Unpin for Invite3pid<'a>[src]

impl<'a> UnwindSafe for Invite3pid<'a>[src]

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.