pub struct UserOpenAuthorizationRequest<'a> {
pub grant_type: &'a str,
pub client_id: &'a str,
pub client_secret: &'a str,
pub code: &'a str,
}Expand description
Request that is used to get access token from the temporary code
Fields§
§grant_type: &'a str§client_id: &'a str§client_secret: &'a str§code: &'a strTrait Implementations§
Source§impl<'a> Debug for UserOpenAuthorizationRequest<'a>
impl<'a> Debug for UserOpenAuthorizationRequest<'a>
Source§impl<'a> Request for UserOpenAuthorizationRequest<'a>
impl<'a> Request for UserOpenAuthorizationRequest<'a>
Source§type Response = UserOpenAuthorizationResponse
type Response = UserOpenAuthorizationResponse
Response type that can be deserialized with serde
Auto Trait Implementations§
impl<'a> Freeze for UserOpenAuthorizationRequest<'a>
impl<'a> RefUnwindSafe for UserOpenAuthorizationRequest<'a>
impl<'a> Send for UserOpenAuthorizationRequest<'a>
impl<'a> Sync for UserOpenAuthorizationRequest<'a>
impl<'a> Unpin for UserOpenAuthorizationRequest<'a>
impl<'a> UnwindSafe for UserOpenAuthorizationRequest<'a>
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