Struct ruma_client_api::r0::context::get_context::Response [] [src]

pub struct Response {
    pub end: String,
    pub event: RoomEvent,
    pub events_after: Vec<RoomEvent>,
    pub events_before: Vec<RoomEvent>,
    pub start: String,
    pub state: Vec<StateEvent>,
}

Data in the response from this API endpoint.

Fields

A token that can be used to paginate forwards with.

Details of the requested event.

A list of room events that happened just after the requested event, in chronological order.

A list of room events that happened just before the requested event, in reverse-chronological order.

A token that can be used to paginate backwards with.

The state of the room at the last event returned.

Trait Implementations

impl Debug for Response
[src]

Formats the value using the given formatter.

impl FutureFrom<Response> for Response
[src]

The future for the conversion.

Possible errors during conversion.

Consume the given value, beginning the conversion.