pub struct OAuthPayloadOut {
pub access_token: Option<String>,
pub error: Option<String>,
pub refresh_token: Option<String>,
}
Fields§
§access_token: Option<String>
§error: Option<String>
§refresh_token: Option<String>
Implementations§
Source§impl OAuthPayloadOut
impl OAuthPayloadOut
pub fn new() -> OAuthPayloadOut
Trait Implementations§
Source§impl Clone for OAuthPayloadOut
impl Clone for OAuthPayloadOut
Source§fn clone(&self) -> OAuthPayloadOut
fn clone(&self) -> OAuthPayloadOut
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 OAuthPayloadOut
impl Debug for OAuthPayloadOut
Source§impl Default for OAuthPayloadOut
impl Default for OAuthPayloadOut
Source§fn default() -> OAuthPayloadOut
fn default() -> OAuthPayloadOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuthPayloadOut
impl<'de> Deserialize<'de> for OAuthPayloadOut
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 OAuthPayloadOut
impl PartialEq for OAuthPayloadOut
Source§impl Serialize for OAuthPayloadOut
impl Serialize for OAuthPayloadOut
impl StructuralPartialEq for OAuthPayloadOut
Auto Trait Implementations§
impl Freeze for OAuthPayloadOut
impl RefUnwindSafe for OAuthPayloadOut
impl Send for OAuthPayloadOut
impl Sync for OAuthPayloadOut
impl Unpin for OAuthPayloadOut
impl UnwindSafe for OAuthPayloadOut
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