pub struct Authenticate {
pub authorization: String,
}
Fields§
Implementations§
Trait Implementations§
Source§impl Debug for Authenticate
impl Debug for Authenticate
Source§impl Endpoint for Authenticate
impl Endpoint for Authenticate
Source§type QueryParams = ()
type QueryParams = ()
The query parameters the endpoint accepts.
Source§type RequestBody = AuthRequestBody
type RequestBody = AuthRequestBody
The request body the endpoint accepts.
Source§type ResponseBody = AuthResponse
type ResponseBody = AuthResponse
The response body the endpoint returns.
Source§fn headers(&self) -> HttpRequestHeaders
fn headers(&self) -> HttpRequestHeaders
The headers to send with the request.
Source§fn request_body(&self) -> Option<Self::RequestBody>
fn request_body(&self) -> Option<Self::RequestBody>
The request body to send with the request.
Source§fn request_method(&self) -> Method
fn request_method(&self) -> Method
The HTTP method to use for the request.
Source§fn request_strategy(&self) -> RequestStrategy
fn request_strategy(&self) -> RequestStrategy
The request strategy to use.
Source§fn auth_strategy(&self) -> AuthStrategy
fn auth_strategy(&self) -> AuthStrategy
The authorization strategy to use.
Source§fn query(&self) -> Option<Self::QueryParams>
fn query(&self) -> Option<Self::QueryParams>
The query parameters to send with the request.
Source§fn request_url(&self, environment: Environment) -> Url
fn request_url(&self, environment: Environment) -> Url
The URL to send the request to. DO NOT OVERRIDE THIS METHOD.
Auto Trait Implementations§
impl Freeze for Authenticate
impl RefUnwindSafe for Authenticate
impl Send for Authenticate
impl Sync for Authenticate
impl Unpin for Authenticate
impl UnwindSafe for Authenticate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more