pub struct UrlInputElement {
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 UrlInputElement
impl UrlInputElement
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 UrlInputElement
impl Clone for UrlInputElement
Source§impl Debug for UrlInputElement
impl Debug for UrlInputElement
Source§impl Default for UrlInputElement
impl Default for UrlInputElement
Source§impl<'de> Deserialize<'de> for UrlInputElement
impl<'de> Deserialize<'de> for UrlInputElement
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<UrlInputElement> for InputElement
impl From<UrlInputElement> for InputElement
Source§fn from(value: UrlInputElement) -> Self
fn from(value: UrlInputElement) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UrlInputElement
impl PartialEq for UrlInputElement
Source§impl Serialize for UrlInputElement
impl Serialize for UrlInputElement
impl StructuralPartialEq for UrlInputElement
Auto Trait Implementations§
impl Freeze for UrlInputElement
impl RefUnwindSafe for UrlInputElement
impl Send for UrlInputElement
impl Sync for UrlInputElement
impl Unpin for UrlInputElement
impl UnsafeUnpin for UrlInputElement
impl UnwindSafe for UrlInputElement
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