pub struct UiNodeInputAttributes {
pub disabled: bool,
pub label: Option<Box<UiText>>,
pub name: String,
pub pattern: Option<String>,
pub required: Option<bool>,
pub _type: String,
pub value: Option<Box<UiNodeInputAttributesValue>>,
}Expand description
UiNodeInputAttributes : InputAttributes represents the attributes of an input node
Fields§
§disabled: boolSets the input’s disabled field to true or false.
label: Option<Box<UiText>>§name: StringThe input’s element name.
pattern: Option<String>The input’s pattern.
required: Option<bool>Mark this input field as required.
_type: String§value: Option<Box<UiNodeInputAttributesValue>>Implementations§
Trait Implementations§
Source§impl Clone for UiNodeInputAttributes
impl Clone for UiNodeInputAttributes
Source§fn clone(&self) -> UiNodeInputAttributes
fn clone(&self) -> UiNodeInputAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiNodeInputAttributes
impl Debug for UiNodeInputAttributes
Source§impl<'de> Deserialize<'de> for UiNodeInputAttributes
impl<'de> Deserialize<'de> for UiNodeInputAttributes
Source§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
Source§impl PartialEq for UiNodeInputAttributes
impl PartialEq for UiNodeInputAttributes
Source§impl Serialize for UiNodeInputAttributes
impl Serialize for UiNodeInputAttributes
impl StructuralPartialEq for UiNodeInputAttributes
Auto Trait Implementations§
impl Freeze for UiNodeInputAttributes
impl RefUnwindSafe for UiNodeInputAttributes
impl Send for UiNodeInputAttributes
impl Sync for UiNodeInputAttributes
impl Unpin for UiNodeInputAttributes
impl UnwindSafe for UiNodeInputAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more