pub struct AuthorizationCodeResponse {
pub code: String,
pub state: Option<String>,
}Expand description
OAuth2 授权码响应
Fields§
§code: String授权码
state: Option<String>状态参数
Trait Implementations§
Source§impl Clone for AuthorizationCodeResponse
impl Clone for AuthorizationCodeResponse
Source§fn clone(&self) -> AuthorizationCodeResponse
fn clone(&self) -> AuthorizationCodeResponse
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 AuthorizationCodeResponse
impl Debug for AuthorizationCodeResponse
Source§impl<'de> Deserialize<'de> for AuthorizationCodeResponse
impl<'de> Deserialize<'de> for AuthorizationCodeResponse
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
Auto Trait Implementations§
impl Freeze for AuthorizationCodeResponse
impl RefUnwindSafe for AuthorizationCodeResponse
impl Send for AuthorizationCodeResponse
impl Sync for AuthorizationCodeResponse
impl Unpin for AuthorizationCodeResponse
impl UnsafeUnpin for AuthorizationCodeResponse
impl UnwindSafe for AuthorizationCodeResponse
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