pub struct Redirect<S> {
pub url: Url,
pub context: ConfirmationContext<S>,
}Expand description
User redirect.
The user is meant to get sent to the url and the context can
be used for continuing the process at the service that issued the redirect object afterward.
A web application needs to direct the user agent to the returned URL. A desktop or mobile application could either open it in a browser or inside an element like a WebView.
Fields§
§url: Url§context: ConfirmationContext<S>Trait Implementations§
Source§impl<'de, S> Deserialize<'de> for Redirect<S>where
S:,
impl<'de, S> Deserialize<'de> for Redirect<S>where
S:,
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
impl<S> Eq for Redirect<S>
Auto Trait Implementations§
impl<S> Freeze for Redirect<S>
impl<S> RefUnwindSafe for Redirect<S>
impl<S> Send for Redirect<S>
impl<S> Sync for Redirect<S>
impl<S> Unpin for Redirect<S>
impl<S> UnwindSafe for Redirect<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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