Struct mango_orm::forms::Widget [−][src]
pub struct Widget {Show 29 fields
pub id: String,
pub label: String,
pub widget: String,
pub input_type: String,
pub name: String,
pub value: String,
pub accept: String,
pub placeholder: String,
pub pattern: String,
pub minlength: usize,
pub maxlength: usize,
pub required: bool,
pub checked: bool,
pub unique: bool,
pub disabled: bool,
pub readonly: bool,
pub step: String,
pub min: String,
pub max: String,
pub options: Vec<(String, String)>,
pub thumbnails: Vec<(String, u32)>,
pub slug_sources: Vec<String>,
pub is_hide: bool,
pub other_attrs: String,
pub css_classes: String,
pub hint: String,
pub warning: String,
pub error: String,
pub common_msg: String,
}
Expand description
Widget. ( Form controls parameters )
Fields
id: String
label: String
widget: String
input_type: String
name: String
value: String
accept: String
placeholder: String
pattern: String
minlength: usize
maxlength: usize
required: bool
checked: bool
unique: bool
disabled: bool
readonly: bool
step: String
min: String
max: String
options: Vec<(String, String)>
thumbnails: Vec<(String, u32)>
slug_sources: Vec<String>
is_hide: bool
other_attrs: String
css_classes: String
hint: String
warning: String
error: String
common_msg: String
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Widget
impl UnwindSafe for Widget
Blanket Implementations
Mutably borrows from an owned value. Read more