pub struct OauthState {
pub state: String,
pub provider: String,
pub redirect_url: Option<String>,
pub expires_at: NaiveDateTime,
pub created_at: NaiveDateTime,
}Fields§
§state: String§provider: String§redirect_url: Option<String>§expires_at: NaiveDateTime§created_at: NaiveDateTimeTrait Implementations§
Source§impl Clone for OauthState
impl Clone for OauthState
Source§fn clone(&self) -> OauthState
fn clone(&self) -> OauthState
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 OauthState
impl Debug for OauthState
Source§impl<'de> Deserialize<'de> for OauthState
impl<'de> Deserialize<'de> for OauthState
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 OauthState
impl RefUnwindSafe for OauthState
impl Send for OauthState
impl Sync for OauthState
impl Unpin for OauthState
impl UnsafeUnpin for OauthState
impl UnwindSafe for OauthState
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