pub struct AuthGithubRequest {
pub code: String,
}Expand description
GitHub OAuth callback payload from the SPA.
JSON schema
{
"title": "AuthGithubRequest",
"description": "GitHub OAuth callback payload from the SPA.",
"examples": [
{
"code": "abc123def456"
}
],
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"description": "The authorization code returned by GitHub to the
SPA.",
"type": "string"
}
}
}Fields§
§code: StringThe authorization code returned by GitHub to the SPA.
Trait Implementations§
Source§impl Clone for AuthGithubRequest
impl Clone for AuthGithubRequest
Source§fn clone(&self) -> AuthGithubRequest
fn clone(&self) -> AuthGithubRequest
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 AuthGithubRequest
impl Debug for AuthGithubRequest
Source§impl<'de> Deserialize<'de> for AuthGithubRequest
impl<'de> Deserialize<'de> for AuthGithubRequest
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 AuthGithubRequest
impl RefUnwindSafe for AuthGithubRequest
impl Send for AuthGithubRequest
impl Sync for AuthGithubRequest
impl Unpin for AuthGithubRequest
impl UnsafeUnpin for AuthGithubRequest
impl UnwindSafe for AuthGithubRequest
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