pub struct OAuth {
pub access_token: String,
pub token_type: String,
pub error: OAuthErrorCode,
pub gist_id: Option<String>,
}Fields
access_token: Stringtoken_type: Stringerror: OAuthErrorCodegist_id: Option<String>Trait Implementations
sourceimpl<'de> Deserialize<'de> for OAuth
impl<'de> Deserialize<'de> for OAuth
sourcefn 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 RefUnwindSafe for OAuth
impl Send for OAuth
impl Sync for OAuth
impl Unpin for OAuth
impl UnwindSafe for OAuth
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more