[][src]Struct mango_orm::widgets::widgets::SelectionWidget

pub struct SelectionWidget {
    pub id: String,
    pub label: String,
    pub default: String,
    pub disabled: bool,
    pub multiple: bool,
    pub required: bool,
    pub hint: String,
    pub other_attrs: String,
    pub other_classes: String,
    pub select: Vec<(String, String)>,
}

Widget for choices items Use for:

Fields

id: Stringlabel: Stringdefault: Stringdisabled: boolmultiple: boolrequired: boolhint: Stringother_attrs: Stringother_classes: Stringselect: Vec<(String, String)>

Implementations

impl SelectionWidget[src]

pub fn attrs(&self) -> Self[src]

Trait Implementations

impl Debug for SelectionWidget[src]

impl Default for SelectionWidget[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,