[][src]Struct ruma_events::call::invite::InviteEventContent

pub struct InviteEventContent {
    pub call_id: String,
    pub lifetime: UInt,
    pub offer: SessionDescription,
    pub version: UInt,
}

The payload for InviteEvent.

Fields

call_id: String

A unique identifer for the call.

lifetime: UInt

The time in milliseconds that the invite is valid for. Once the invite age exceeds this value, clients should discard it. They should also no longer show the call as awaiting an answer in the UI.

offer: SessionDescription

The session description object. The session description type must be offer.

version: UInt

The version of the VoIP specification this messages adheres to.

Trait Implementations

impl Clone for InviteEventContent[src]

impl Debug for InviteEventContent[src]

impl FromRaw for InviteEventContent[src]

type Raw = InviteEventContent

The raw type.

impl PartialEq<InviteEventContent> for InviteEventContent[src]

impl Serialize for InviteEventContent[src]

impl StructuralPartialEq for InviteEventContent[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>,