Struct ory_hydra_client::models::oauth2_token_response::Oauth2TokenResponse [−][src]
pub struct Oauth2TokenResponse { pub access_token: Option<String>, pub expires_in: Option<i64>, pub id_token: Option<String>, pub refresh_token: Option<String>, pub scope: Option<String>, pub token_type: Option<String>, }
Oauth2TokenResponse : The Access Token Response
Fields
access_token: Option<String>
expires_in: Option<i64>
id_token: Option<String>
refresh_token: Option<String>
scope: Option<String>
token_type: Option<String>
Implementations
impl Oauth2TokenResponse
[src]
impl Oauth2TokenResponse
[src]pub fn new() -> Oauth2TokenResponse
[src]
pub fn new() -> Oauth2TokenResponse
[src]The Access Token Response
Trait Implementations
impl Clone for Oauth2TokenResponse
[src]
impl Clone for Oauth2TokenResponse
[src]fn clone(&self) -> Oauth2TokenResponse
[src]
fn clone(&self) -> Oauth2TokenResponse
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for Oauth2TokenResponse
[src]
impl Debug for Oauth2TokenResponse
[src]impl<'de> Deserialize<'de> for Oauth2TokenResponse
[src]
impl<'de> Deserialize<'de> for Oauth2TokenResponse
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<Oauth2TokenResponse> for Oauth2TokenResponse
[src]
impl PartialEq<Oauth2TokenResponse> for Oauth2TokenResponse
[src]fn eq(&self, other: &Oauth2TokenResponse) -> bool
[src]
fn eq(&self, other: &Oauth2TokenResponse) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Oauth2TokenResponse) -> bool
[src]
fn ne(&self, other: &Oauth2TokenResponse) -> bool
[src]This method tests for !=
.
impl Serialize for Oauth2TokenResponse
[src]
impl Serialize for Oauth2TokenResponse
[src]impl StructuralPartialEq for Oauth2TokenResponse
[src]
Auto Trait Implementations
impl RefUnwindSafe for Oauth2TokenResponse
impl Send for Oauth2TokenResponse
impl Sync for Oauth2TokenResponse
impl Unpin for Oauth2TokenResponse
impl UnwindSafe for Oauth2TokenResponse
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,