pub struct TypeTextCommand {
pub selector: String,
pub target: Option<TargetSpec>,
pub value: String,
pub clear_first: bool,
pub expected_url: Option<String>,
}Fields§
§selector: String§target: Option<TargetSpec>§value: String§clear_first: bool§expected_url: Option<String>When set, fail before typing unless the page URL matches
(same role as ClickCommand::expected_url).
Trait Implementations§
Source§impl Clone for TypeTextCommand
impl Clone for TypeTextCommand
Source§impl Debug for TypeTextCommand
impl Debug for TypeTextCommand
Source§impl<'de> Deserialize<'de> for TypeTextCommand
impl<'de> Deserialize<'de> for TypeTextCommand
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
Auto Trait Implementations§
impl Freeze for TypeTextCommand
impl RefUnwindSafe for TypeTextCommand
impl Send for TypeTextCommand
impl Sync for TypeTextCommand
impl Unpin for TypeTextCommand
impl UnsafeUnpin for TypeTextCommand
impl UnwindSafe for TypeTextCommand
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