pub struct FormState {
pub fields: Vec<FormField>,
pub submitted: bool,
}Expand description
State for a form with multiple fields.
Fields§
§fields: Vec<FormField>Ordered list of form fields.
submitted: boolWhether the form has been successfully submitted.
Implementations§
Source§impl FormState
impl FormState
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FormState
impl RefUnwindSafe for FormState
impl Send for FormState
impl Sync for FormState
impl Unpin for FormState
impl UnsafeUnpin for FormState
impl UnwindSafe for FormState
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