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

pub struct Request {
    pub event_id: EventId,
    pub limit: u8,
    pub room_id: RoomId,
}

Data for a request to this API endpoint.

Fields

The event to get context around.

The maximum number of events to return.

Defaults to 10 if not supplied.

The room to get events from.

Trait Implementations

impl Debug for Request
[src]

Formats the value using the given formatter.