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 ( field attributes.)
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
sourceimpl<'de> Deserialize<'de> for Widget
impl<'de> Deserialize<'de> for Widget
sourcefn 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
impl StructuralPartialEq for Widget
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian()
.
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian()
.
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian()
.