pub struct Reply<T> {
pub status: u16,
pub html: String,
pub outcome: Option<Result<T, AuthError>>,
}Expand description
The reply to one request, and what it means for the sign-in.
Fields§
§status: u16HTTP status.
html: StringThe page.
outcome: Option<Result<T, AuthError>>Ends the wait with a value or an error.
Implementations§
Auto Trait Implementations§
impl<T> Forget for Reply<T>
impl<T> Freeze for Reply<T>
impl<T> RefUnwindSafe for Reply<T>
impl<T> Send for Reply<T>
impl<T> Sync for Reply<T>
impl<T> Unpin for Reply<T>
impl<T> UnsafeUnpin for Reply<T>
impl<T> UnwindSafe for Reply<T>
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