Struct ruma_client_api::r0::account::add_3pid::IncomingRequest [−][src]
pub struct IncomingRequest {
pub auth: Option<IncomingAuthData>,
pub client_secret: Box<ClientSecret>,
pub sid: Box<SessionId>,
}Expand description
‘Incoming’ variant of Request.
Fields
auth: Option<IncomingAuthData>Additional information for the User-Interactive Authentication API.
client_secret: Box<ClientSecret>Client-generated secret string used to protect this session.
sid: Box<SessionId>The session identifier given by the identity server.
Trait Implementations
type EndpointError = UiaaResponse
type EndpointError = UiaaResponse
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.