Struct mango_orm::forms::Widget [−][src]
pub struct Widget {Show 28 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 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: Stringlabel: Stringwidget: Stringinput_type: Stringname: Stringvalue: Stringaccept: Stringplaceholder: Stringpattern: Stringminlength: usizemaxlength: usizerequired: boolchecked: boolunique: booldisabled: boolreadonly: boolstep: Stringmin: Stringmax: Stringoptions: Vec<(String, String)>thumbnails: Vec<(String, u32)>slug_sources: Vec<String>other_attrs: Stringcss_classes: Stringhint: Stringwarning: Stringerror: Stringcommon_msg: StringTrait 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