pub struct AuthenticateEndpoint {
pub oauth_token: String,
pub force_login: Option<bool>,
pub screen_name: Option<String>,
}Fields§
§oauth_token: String§force_login: Option<bool>§screen_name: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for AuthenticateEndpoint
impl Clone for AuthenticateEndpoint
Source§fn clone(&self) -> AuthenticateEndpoint
fn clone(&self) -> AuthenticateEndpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthenticateEndpoint
impl Debug for AuthenticateEndpoint
Source§impl Endpoint for AuthenticateEndpoint
impl Endpoint for AuthenticateEndpoint
type RenderRequestError = AuthorizeEndpointError
type ParseResponseOutput = ()
type ParseResponseError = AuthorizeEndpointError
fn render_request(&self) -> Result<Request<Body>, Self::RenderRequestError>
fn parse_response( &self, _response: Response<Body>, ) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>
Auto Trait Implementations§
impl Freeze for AuthenticateEndpoint
impl RefUnwindSafe for AuthenticateEndpoint
impl Send for AuthenticateEndpoint
impl Sync for AuthenticateEndpoint
impl Unpin for AuthenticateEndpoint
impl UnwindSafe for AuthenticateEndpoint
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