pub enum Control {
Input,
Password,
Textarea,
Checkbox,
Select,
Money,
Percentage,
Parts(&'static [Part]),
File,
}Variants§
Input
Password
Its value is never sent back to the page.
Textarea
Checkbox
Select
Money
Percentage
Basis points shown and typed as a percent with up to two decimals.
Parts(&'static [Part])
One control per part, posted as <field>.<part>, for a value read as an object.
File
Its form is sent as multipart/form-data; nothing is ever shown in it.
Trait Implementations§
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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