pub struct FormField {
pub label: String,
pub input: String,
pub error: String,
pub required: bool,
pub help_text: String,
}Fields§
§label: String§input: String§error: String§required: bool§help_text: StringImplementations§
Trait Implementations§
impl Eq for FormField
impl StructuralPartialEq for FormField
Auto Trait Implementations§
impl Freeze for FormField
impl RefUnwindSafe for FormField
impl Send for FormField
impl Sync for FormField
impl Unpin for FormField
impl UnwindSafe for FormField
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