pub struct AccessTokenEndpoint {
pub grant_type: Box<str>,
pub app_id: u64,
pub app_secret: Option<Box<str>>,
pub fb_exchange_token: Option<Box<str>>,
pub version: Option<Box<str>>,
}
Fields§
§grant_type: Box<str>
§app_id: u64
§app_secret: Option<Box<str>>
§fb_exchange_token: Option<Box<str>>
§version: Option<Box<str>>
Implementations§
Trait Implementations§
Source§impl Clone for AccessTokenEndpoint
impl Clone for AccessTokenEndpoint
Source§fn clone(&self) -> AccessTokenEndpoint
fn clone(&self) -> AccessTokenEndpoint
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 AccessTokenEndpoint
impl Debug for AccessTokenEndpoint
Source§impl Endpoint for AccessTokenEndpoint
impl Endpoint for AccessTokenEndpoint
type RenderRequestError = EndpointError
type ParseResponseOutput = EndpointRet<AccessTokenResponseBodyOkJson>
type ParseResponseError = EndpointError
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 AccessTokenEndpoint
impl RefUnwindSafe for AccessTokenEndpoint
impl Send for AccessTokenEndpoint
impl Sync for AccessTokenEndpoint
impl Unpin for AccessTokenEndpoint
impl UnwindSafe for AccessTokenEndpoint
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