Struct mango_orm::forms::Widget[][src]

pub struct Widget {
    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 other_attrs: String,
    pub css_classes: String,
    pub options: Vec<(String, String)>,
    pub hint: String,
    pub warning: String,
    pub error: String,
    pub common_msg: String,
}

Fields

id: Stringlabel: Stringwidget: Stringinput_type: Stringname: Stringvalue: Stringaccept: Stringplaceholder: Stringpattern: Stringminlength: usizemaxlength: usizerequired: boolchecked: boolunique: booldisabled: boolreadonly: boolstep: Stringmin: Stringmax: Stringother_attrs: Stringcss_classes: Stringoptions: Vec<(String, String)>hint: Stringwarning: Stringerror: Stringcommon_msg: String

Trait Implementations

impl Clone for Widget[src]

impl Debug for Widget[src]

impl Default for Widget[src]

impl<'de> Deserialize<'de> for Widget[src]

impl PartialEq<Widget> for Widget[src]

impl Serialize for Widget[src]

impl StructuralPartialEq for Widget[src]

Auto Trait Implementations

impl RefUnwindSafe for Widget

impl Send for Widget

impl Sync for Widget

impl Unpin for Widget

impl UnwindSafe for Widget

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,