pub struct EmailInputElement {
pub action_id: Option<String>,
pub initial_value: Option<String>,
pub dispatch_action_config: Option<DispatchActionConfig>,
pub focus_on_load: Option<bool>,
pub placeholder: Option<TextObject>,
/* private fields */
}Expand description
Fields§
§action_id: Option<String>§initial_value: Option<String>§dispatch_action_config: Option<DispatchActionConfig>§focus_on_load: Option<bool>§placeholder: Option<TextObject>Implementations§
Source§impl EmailInputElement
impl EmailInputElement
pub fn new() -> Self
pub fn action_id(self, action_id: impl Into<String>) -> Self
pub fn initial_value(self, initial_value: impl Into<String>) -> Self
pub fn dispatch_action_config( self, dispatch_action_config: DispatchActionConfig, ) -> Self
pub fn focus_on_load(self, focus_on_load: bool) -> Self
pub fn placeholder(self, placeholder: impl Into<TextObject>) -> Self
Trait Implementations§
Source§impl Clone for EmailInputElement
impl Clone for EmailInputElement
Source§impl Debug for EmailInputElement
impl Debug for EmailInputElement
Source§impl Default for EmailInputElement
impl Default for EmailInputElement
Source§impl<'de> Deserialize<'de> for EmailInputElement
impl<'de> Deserialize<'de> for EmailInputElement
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 From<EmailInputElement> for InputElement
impl From<EmailInputElement> for InputElement
Source§fn from(value: EmailInputElement) -> Self
fn from(value: EmailInputElement) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmailInputElement
impl PartialEq for EmailInputElement
Source§impl Serialize for EmailInputElement
impl Serialize for EmailInputElement
impl StructuralPartialEq for EmailInputElement
Auto Trait Implementations§
impl Freeze for EmailInputElement
impl RefUnwindSafe for EmailInputElement
impl Send for EmailInputElement
impl Sync for EmailInputElement
impl Unpin for EmailInputElement
impl UnsafeUnpin for EmailInputElement
impl UnwindSafe for EmailInputElement
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