Struct mango_orm::forms::Widget [−][src]
pub struct Widget {Show 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 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)>other_attrs: Stringcss_classes: Stringhint: Stringwarning: Stringerror: Stringcommon_msg: StringTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Widgetimpl UnwindSafe for WidgetBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V