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

pub struct EventContext {
    pub after_limit: UInt,
    pub before_limit: UInt,
    pub include_profile: bool,
}

Configures whether any context for the events returned are included in the response.

Fields

after_limit: UInt

How many events after the result are returned.

before_limit: UInt

How many events before the result are returned.

include_profile: bool

Requests that the server returns the historic profile information for the users that sent the events that were returned.

Trait Implementations

impl Clone for EventContext[src]

impl Copy for EventContext[src]

impl Debug for EventContext[src]

impl<'de> Deserialize<'de> for EventContext[src]

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