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