[][src]Struct ruma_events::key::verification::request::RequestEventContent

pub struct RequestEventContent {
    pub from_device: DeviceId,
    pub transaction_id: String,
    pub methods: Vec<VerificationMethod>,
    pub timestamp: UInt,
}

The payload for RequestEvent.

Fields

from_device: DeviceId

The device ID which is initiating the request.

transaction_id: String

An opaque identifier for the verification request.

Must be unique with respect to the devices involved.

methods: Vec<VerificationMethod>

The verification methods supported by the sender.

timestamp: UInt

The POSIX timestamp in milliseconds for when the request was made.

If the request is in the future by more than 5 minutes or more than 10 minutes in the past, the message should be ignored by the receiver.

Trait Implementations

impl Clone for RequestEventContent[src]

impl Debug for RequestEventContent[src]

impl FromRaw for RequestEventContent[src]

type Raw = RequestEventContent

The raw type.

impl PartialEq<RequestEventContent> for RequestEventContent[src]

impl Serialize for RequestEventContent[src]

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