[][src]Struct ruma_client_api::r0::search::search_events::IncomingEventContextResult

pub struct IncomingEventContextResult {
    pub end: String,
    pub events_after: Option<Vec<EventResult<Event>>>,
    pub events_before: Option<Vec<EventResult<Event>>>,
    pub profile_info: Option<HashMap<UserId, UserProfile>>,
    pub start: String,
}

'Incoming' variant of EventContextResult.

Fields

end: String

Pagination token for the end of the chunk.

events_after: Option<Vec<EventResult<Event>>>

Events just after the result.

events_before: Option<Vec<EventResult<Event>>>

Events just before the result.

profile_info: Option<HashMap<UserId, UserProfile>>

The historic profile information of the users that sent the events returned.

start: String

Pagination token for the start of the chunk.

Trait Implementations

impl Debug for IncomingEventContextResult[src]

impl<'de> Deserialize<'de> for IncomingEventContextResult[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, 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>,