#[non_exhaustive]pub enum FieldStyle {
Short,
Paragraph,
}Expand description
How much text a form field takes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FieldStyle
impl Clone for FieldStyle
impl Copy for FieldStyle
Source§impl Debug for FieldStyle
impl Debug for FieldStyle
Source§impl Default for FieldStyle
impl Default for FieldStyle
Source§impl<'de> Deserialize<'de> for FieldStyle
impl<'de> Deserialize<'de> for FieldStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FieldStyle
Source§impl PartialEq for FieldStyle
impl PartialEq for FieldStyle
Source§impl Serialize for FieldStyle
impl Serialize for FieldStyle
impl StructuralPartialEq for FieldStyle
Auto Trait Implementations§
impl Freeze for FieldStyle
impl RefUnwindSafe for FieldStyle
impl Send for FieldStyle
impl Sync for FieldStyle
impl Unpin for FieldStyle
impl UnsafeUnpin for FieldStyle
impl UnwindSafe for FieldStyle
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