[−]Trait matrix_sdk_base::OutgoingRequest
A request type for a Matrix API endpoint. (trait used for sending requests)
Associated Types
type EndpointError: EndpointError
A type capturing the expected error conditions the server can return.
type IncomingResponse: TryFrom<Response<Vec<u8, Global>>>
Response type returned when the request is successful.
Associated Constants
pub const METADATA: Metadata
Metadata about the endpoint.
Required methods
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
Tries to convert this request into an http::Request
.
This method should only fail when called on endpoints that require authentication. It may also fail with a serialization error in case of bugs in Ruma though.
The endpoints path will be appended to the given base_url
, for example
https://matrix.org
. Since all paths begin with a slash, it is not necessary for the
base_url
to have a trailing slash. If it has one however, it will be ignored.
Implementors
impl OutgoingRequest for matrix_sdk_base::api::r0::account::whoami::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the whoami
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::backup::create_backup::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_backup
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::backup::get_latest_backup::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_latest_backup
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::capabilities::get_capabilities::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_capabilities
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::contact::get_contacts::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_contacts
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::device::get_devices::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_devices
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::keys::claim_keys::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the claim_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::keys::upload_keys::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the upload_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::keys::upload_signatures::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the upload_signatures
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::media::get_media_config::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_media_config
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::membership::joined_rooms::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the joined_rooms
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::push::get_pushers::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_pushers
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::push::get_pushrules_all::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_pushrules_all
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::push::get_pushrules_global_scope::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_pushrules_global_scope
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::push::set_pusher::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_pusher
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::session::get_login_types::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_login_types
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::session::logout::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the logout
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::session::logout_all::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the logout_all
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::thirdparty::get_protocols::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_protocols
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::r0::voip::get_turn_server_info::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the turn_server_info
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::unversioned::discover_homeserver::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the discover_homeserver
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl OutgoingRequest for matrix_sdk_base::api::unversioned::get_supported_versions::Request
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the api_versions
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::add_3pid::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the add_3pid
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::bind_3pid::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the bind_3pid
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::change_password::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the change_password
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::deactivate::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the deactivate
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::delete_3pid::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_3pid
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::get_username_availability::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_username_availability
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::register::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the register
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_3pid_management_token_via_email::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_3pid_association_token_via_email
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_3pid_management_token_via_msisdn::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_3pid_association_token_via_msisdn
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_openid_token::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_openid_token
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_password_change_token_via_email::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_password_change_token_via_email
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_password_change_token_via_msisdn::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_password_change_token_via_msisdn
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_registration_token_via_email::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_registration_token_via_email
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::request_registration_token_via_msisdn::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_registration_token_via_msisdn
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::account::unbind_3pid::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the unbind_3pid
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::alias::create_alias::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_alias
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::alias::delete_alias::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_alias
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::alias::get_alias::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_alias
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::appservice::set_room_visibility::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_room_visibility
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::add_backup_key_session::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the add_backup_key_session
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::add_backup_key_sessions::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the add_backup_key_sessions
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::add_backup_keys::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the add_backup_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::delete_backup::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_backup
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::delete_backup_key_session::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_backup_key_session
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::delete_backup_key_sessions::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_backup_key_sessions
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::delete_backup_keys::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_backup_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::get_backup::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_backup
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::get_backup_key_session::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_backup_key_session
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::get_backup_key_sessions::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_backup_key_sessions
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::get_backup_keys::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_backup_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::backup::update_backup::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the update_backup
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::config::get_global_account_data::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_global_account_data
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::config::get_room_account_data::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_room_account_data
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::config::set_global_account_data::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_global_account_data
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::config::set_room_account_data::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_room_account_data
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::contact::request_contact_verification_token::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the request_contact_verification_token
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::context::get_context::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_context
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::device::delete_device::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_device
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::device::delete_devices::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_devices
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::device::get_device::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_device
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::device::update_device::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the update_device
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::directory::get_public_rooms::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_public_rooms
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::directory::get_public_rooms_filtered::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_public_rooms_filtered
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::directory::get_room_visibility::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_room_visibility
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::directory::set_room_visibility::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_room_visibility
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::filter::create_filter::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_filter
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::filter::get_filter::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_filter
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::keys::get_key_changes::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_key_changes
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::keys::get_keys::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::keys::upload_signing_keys::Request<'a>
type EndpointError = UiaaResponse
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the upload_signing_keys
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::media::create_content::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_media_content
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::media::get_content::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_media_content
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::media::get_content_as_filename::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_media_content_as_filename
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::media::get_content_thumbnail::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_content_thumbnail
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::media::get_media_preview::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_media_preview
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::ban_user::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the ban_user
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::forget_room::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the forget_room
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::get_member_events::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_member_events
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::invite_user::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the invite_user
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::join_room_by_id::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the join_room_by_id
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::join_room_by_id_or_alias::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the join_room_by_id_or_alias
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::joined_members::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the joined_members
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::kick_user::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the kick_user
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::leave_room::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the leave_room
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::membership::unban_user::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the unban_user
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::message::get_message_events::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_message_events
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::message::send_message_event::Request<'a>
type EndpointError = Error
type IncomingResponse = Response
pub const METADATA: Metadata
Metadata for the send_message_event
endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::presence::get_presence::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_presence
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::presence::set_presence::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_presence
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::profile::get_avatar_url::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_avatar_url
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::profile::get_display_name::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_display_name
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::profile::get_profile::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_profile
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::profile::set_avatar_url::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_avatar_url
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::profile::set_display_name::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_display_name
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::delete_pushrule::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_pushrule
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::get_notifications::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_notifications
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::get_pushrule::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_pushrule
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::get_pushrule_actions::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_pushrule_actions
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::get_pushrule_enabled::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_pushrule_enabled
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::set_pushrule::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_pushrule
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::set_pushrule_actions::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_pushrule_actions
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::push::set_pushrule_enabled::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_pushrule_enabled
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::read_marker::set_read_marker::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the set_read_marker
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::receipt::create_receipt::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_receipt
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::redact::redact_event::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the redact_event
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::room::create_room::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_room
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::room::get_room_event::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_room_event
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::room::report_content::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the report_content
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::room::upgrade_room::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the upgrade_room
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::search::search_events::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the search
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::server::get_user_info::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_user_info
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::session::login::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the login
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::session::sso_login::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the sso_login
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::state::get_state_events::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_state_events
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::state::get_state_events_for_empty_key::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_state_events_for_empty_key
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::state::get_state_events_for_key::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_state_events_for_key
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::state::send_state_event_for_empty_key::Request<'a>
type EndpointError = Error
type IncomingResponse = Response
pub const METADATA: Metadata
Metadata for the send_message_event
endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::state::send_state_event_for_key::Request<'a>
type EndpointError = Error
type IncomingResponse = Response
pub const METADATA: Metadata
Metadata for the send_message_event
endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::sync::sync_events::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the sync
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::tag::create_tag::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_tag
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::tag::delete_tag::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the delete_tag
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::tag::get_tags::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_tags
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::thirdparty::get_location_for_protocol::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_location_for_protocol
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::thirdparty::get_location_for_room_alias::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_location_for_room_alias
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::thirdparty::get_protocol::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_protocol
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::thirdparty::get_user_for_protocol::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_user_for_protocol
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::thirdparty::get_user_for_user_id::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the get_user_for_user_id
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::to_device::send_event_to_device::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the send_event_to_device
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::typing::create_typing_event::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the create_typing_event
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
impl<'a> OutgoingRequest for matrix_sdk_base::api::r0::user_directory::search_users::Request<'a>
type EndpointError = Error
type IncomingResponse = <Response as Outgoing>::Incoming
pub const METADATA: Metadata
Metadata for the search_users
API endpoint.
pub fn try_into_http_request(
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8, Global>>, IntoHttpError>