pub struct OauthCodeResponse {
pub code: Option<String>,
}Fields§
§code: Option<String>OAuth authorization code
Implementations§
Source§impl OauthCodeResponse
impl OauthCodeResponse
pub fn new() -> OauthCodeResponse
Trait Implementations§
Source§impl Clone for OauthCodeResponse
impl Clone for OauthCodeResponse
Source§fn clone(&self) -> OauthCodeResponse
fn clone(&self) -> OauthCodeResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OauthCodeResponse
impl Debug for OauthCodeResponse
Source§impl Default for OauthCodeResponse
impl Default for OauthCodeResponse
Source§fn default() -> OauthCodeResponse
fn default() -> OauthCodeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OauthCodeResponse
impl<'de> Deserialize<'de> for OauthCodeResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OauthCodeResponse
impl PartialEq for OauthCodeResponse
Source§fn eq(&self, other: &OauthCodeResponse) -> bool
fn eq(&self, other: &OauthCodeResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OauthCodeResponse
impl Serialize for OauthCodeResponse
impl StructuralPartialEq for OauthCodeResponse
Auto Trait Implementations§
impl Freeze for OauthCodeResponse
impl RefUnwindSafe for OauthCodeResponse
impl Send for OauthCodeResponse
impl Sync for OauthCodeResponse
impl Unpin for OauthCodeResponse
impl UnsafeUnpin for OauthCodeResponse
impl UnwindSafe for OauthCodeResponse
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