Struct ruma_client_api::r0::membership::join_room_by_id_or_alias::IncomingRequest [−][src]
pub struct IncomingRequest { pub room_id_or_alias: RoomIdOrAliasId, pub server_name: Vec<ServerNameBox>, pub third_party_signed: Option<IncomingThirdPartySigned>, }
Expand description
‘Incoming’ variant of Request.
Fields
room_id_or_alias: RoomIdOrAliasId
The room where the user should be invited.
server_name: Vec<ServerNameBox>
The servers to attempt to join the room through. One of the servers must be participating in the room.
third_party_signed: Option<IncomingThirdPartySigned>
The signature of a m.third_party_invite
token to prove that this user owns a third
party identity which has been invited to the room.
Trait Implementations
type EndpointError = Error
type EndpointError = Error
A type capturing the error conditions that can be returned in the response.
type OutgoingResponse = Response
type OutgoingResponse = Response
Response type to return when the request is successful.
fn try_from_http_request<T: AsRef<[u8]>>(
request: Request<T>
) -> Result<Self, FromHttpRequestError>
fn try_from_http_request<T: AsRef<[u8]>>(
request: Request<T>
) -> Result<Self, FromHttpRequestError>
Tries to turn the given http::Request
into this request type.
Auto Trait Implementations
impl RefUnwindSafe for IncomingRequest
impl Send for IncomingRequest
impl Sync for IncomingRequest
impl Unpin for IncomingRequest
impl UnwindSafe for IncomingRequest