pub struct OAuthStateInput {
pub callback_url: String,
pub error_url: Option<String>,
pub new_user_url: Option<String>,
pub link: Option<OAuthStateLink>,
pub request_sign_up: bool,
pub additional_data: Value,
pub expires_at: Option<OffsetDateTime>,
}Fields§
§callback_url: String§error_url: Option<String>§new_user_url: Option<String>§link: Option<OAuthStateLink>§request_sign_up: bool§additional_data: Value§expires_at: Option<OffsetDateTime>Trait Implementations§
Source§impl Clone for OAuthStateInput
impl Clone for OAuthStateInput
Source§fn clone(&self) -> OAuthStateInput
fn clone(&self) -> OAuthStateInput
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 OAuthStateInput
impl Debug for OAuthStateInput
Source§impl Default for OAuthStateInput
impl Default for OAuthStateInput
Source§impl PartialEq for OAuthStateInput
impl PartialEq for OAuthStateInput
Source§fn eq(&self, other: &OAuthStateInput) -> bool
fn eq(&self, other: &OAuthStateInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OAuthStateInput
Auto Trait Implementations§
impl Freeze for OAuthStateInput
impl RefUnwindSafe for OAuthStateInput
impl Send for OAuthStateInput
impl Sync for OAuthStateInput
impl Unpin for OAuthStateInput
impl UnsafeUnpin for OAuthStateInput
impl UnwindSafe for OAuthStateInput
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