pub struct OAuth2RedirectTo {
pub redirect_to: String,
}
Expand description
OAuth2RedirectTo : Contains a redirect URL used to complete a login, consent, or logout request.
Fields§
§redirect_to: String
RedirectURL is the URL which you should redirect the user’s browser to once the authentication process is completed.
Implementations§
source§impl OAuth2RedirectTo
impl OAuth2RedirectTo
sourcepub fn new(redirect_to: String) -> OAuth2RedirectTo
pub fn new(redirect_to: String) -> OAuth2RedirectTo
Contains a redirect URL used to complete a login, consent, or logout request.
Trait Implementations§
source§impl Clone for OAuth2RedirectTo
impl Clone for OAuth2RedirectTo
source§fn clone(&self) -> OAuth2RedirectTo
fn clone(&self) -> OAuth2RedirectTo
Returns a copy 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 OAuth2RedirectTo
impl Debug for OAuth2RedirectTo
source§impl<'de> Deserialize<'de> for OAuth2RedirectTo
impl<'de> Deserialize<'de> for OAuth2RedirectTo
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 OAuth2RedirectTo
impl PartialEq for OAuth2RedirectTo
source§fn eq(&self, other: &OAuth2RedirectTo) -> bool
fn eq(&self, other: &OAuth2RedirectTo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OAuth2RedirectTo
impl Serialize for OAuth2RedirectTo
impl StructuralPartialEq for OAuth2RedirectTo
Auto Trait Implementations§
impl RefUnwindSafe for OAuth2RedirectTo
impl Send for OAuth2RedirectTo
impl Sync for OAuth2RedirectTo
impl Unpin for OAuth2RedirectTo
impl UnwindSafe for OAuth2RedirectTo
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