pub struct Submitted<'a> {
pub action: &'a str,
pub input: &'a Value,
pub errors: &'a [(&'a str, String)],
}Expand description
Shown again in the form whose post is action, so nothing typed is lost but a password.
Fields§
§action: &'a str§input: &'a Value§errors: &'a [(&'a str, String)]Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Submitted<'a>
impl<'a> Freeze for Submitted<'a>
impl<'a> RefUnwindSafe for Submitted<'a>
impl<'a> Send for Submitted<'a>
impl<'a> Sync for Submitted<'a>
impl<'a> Unpin for Submitted<'a>
impl<'a> UnsafeUnpin for Submitted<'a>
impl<'a> UnwindSafe for Submitted<'a>
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