pub struct InsertText {
pub method: InsertTextMethod,
pub params: InsertTextParams,
}Expand description
This method emulates inserting text that doesn’t come from a key press, for example an emoji keyboard or an IME. insertText
Fields§
§method: InsertTextMethod§params: InsertTextParamsImplementations§
Source§impl InsertText
impl InsertText
pub fn builder() -> InsertTextBuilder
Source§impl InsertText
impl InsertText
pub const IDENTIFIER: &'static str = "Input.insertText"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for InsertText
impl Clone for InsertText
Source§fn clone(&self) -> InsertText
fn clone(&self) -> InsertText
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 CommandResult for InsertText
impl CommandResult for InsertText
type Result = InsertTextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for InsertText
impl Debug for InsertText
Source§impl<'de> Deserialize<'de> for InsertText
impl<'de> Deserialize<'de> for InsertText
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<InsertText> for BrowserProtocolCommands
impl From<InsertText> for BrowserProtocolCommands
Source§fn from(v: InsertText) -> Self
fn from(v: InsertText) -> Self
Converts to this type from the input type.
Source§impl From<InsertText> for Command
impl From<InsertText> for Command
Source§fn from(v: InsertText) -> Self
fn from(v: InsertText) -> Self
Converts to this type from the input type.
Source§impl From<InsertText> for InputCommands
impl From<InsertText> for InputCommands
Source§fn from(v: InsertText) -> Self
fn from(v: InsertText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InsertText
impl PartialEq for InsertText
Source§impl Serialize for InsertText
impl Serialize for InsertText
Source§impl TryFrom<BrowserProtocolCommands> for InsertText
impl TryFrom<BrowserProtocolCommands> for InsertText
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <InsertText as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <InsertText as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for InsertText
impl TryFrom<Command> for InsertText
Source§impl TryFrom<InputCommands> for InsertText
impl TryFrom<InputCommands> for InsertText
Source§type Error = InputCommands
type Error = InputCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: InputCommands,
) -> Result<Self, <InsertText as TryFrom<InputCommands>>::Error>
fn try_from( e: InputCommands, ) -> Result<Self, <InsertText as TryFrom<InputCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for InsertText
Auto Trait Implementations§
impl Freeze for InsertText
impl RefUnwindSafe for InsertText
impl Send for InsertText
impl Sync for InsertText
impl Unpin for InsertText
impl UnsafeUnpin for InsertText
impl UnwindSafe for InsertText
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