pub struct Options {Show 14 fields
pub required: Option<bool>,
pub label: Option<String>,
pub inset_label: Option<String>,
pub placeholder: Option<String>,
pub hint: Option<String>,
pub icon: Option<String>,
pub max_length: Option<f32>,
pub counter: Option<bool>,
pub caption: Option<String>,
pub color: Option<String>,
pub size: Option<String>,
pub _type: Option<String>,
pub icon_position: Option<String>,
pub selections: Option<Vec<OptionGroup>>,
}
Expand description
Options : Options
Fields
required: Option<bool>
label: Option<String>
inset_label: Option<String>
placeholder: Option<String>
hint: Option<String>
icon: Option<String>
max_length: Option<f32>
counter: Option<bool>
color: Option<String>
size: Option<String>
_type: Option<String>
icon_position: Option<String>
selections: Option<Vec<OptionGroup>>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
sourcefn 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 StructuralPartialEq for Options
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more