[−][src]Struct ruma_client_api::r0::push::get_pushers::Request
Data for a request to the get_pushers API endpoint.
Gets all currently active pushers for the authenticated user.
Implementations
impl Request[src]
Trait Implementations
impl Clone for Request[src]
impl Debug for Request[src]
impl Default for Request[src]
impl IncomingRequest for Request[src]
type EndpointError = Error
A type capturing the error conditions that can be returned in the response.
type OutgoingResponse = Response
Response type to return when the request is successful.
pub const METADATA: Metadata[src]
Metadata for the get_pushers API endpoint.
pub fn try_from_http_request(
request: Request<Vec<u8>>
) -> Result<Self, FromHttpRequestError>[src]
request: Request<Vec<u8>>
) -> Result<Self, FromHttpRequestError>
impl Outgoing for Request[src]
type Incoming = Self
The 'Incoming' variant of Self.
impl OutgoingRequest for Request[src]
type EndpointError = Error
A type capturing the expected error conditions the server can return.
type IncomingResponse = <Response as Outgoing>::Incoming
Response type returned when the request is successful.
pub const METADATA: Metadata[src]
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>>, IntoHttpError>[src]
self,
base_url: &str,
access_token: Option<&str>
) -> Result<Request<Vec<u8>>, IntoHttpError>
Auto Trait Implementations
impl RefUnwindSafe for Request[src]
impl Send for Request[src]
impl Sync for Request[src]
impl Unpin for Request[src]
impl UnwindSafe for Request[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,