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

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

Context for search results, if requested.

Fields

end: String

Pagination token for the end of the chunk.

events_after: Option<Vec<Event>>

Events just after the result.

events_before: Option<Vec<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 Clone for EventContextResult[src]

impl Debug for EventContextResult[src]

impl Outgoing for EventContextResult[src]

type Incoming = IncomingEventContextResult

The 'Incoming' variant of Self.

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