Struct chromiumoxide::cdp::browser_protocol::input::InsertTextParams
source · [−]pub struct InsertTextParams {
pub text: String,
}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
text: StringThe text to insert.
Implementations
sourceimpl InsertTextParams
impl InsertTextParams
pub fn new(text: impl Into<String>) -> InsertTextParams
sourceimpl InsertTextParams
impl InsertTextParams
pub fn builder() -> InsertTextParamsBuilder
sourceimpl InsertTextParams
impl InsertTextParams
pub const IDENTIFIER: &'static str
Trait Implementations
sourceimpl Clone for InsertTextParams
impl Clone for InsertTextParams
sourcefn clone(&self) -> InsertTextParams
fn clone(&self) -> InsertTextParams
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Command for InsertTextParams
impl Command for InsertTextParams
type Response = InsertTextReturns
type Response = InsertTextReturns
The type of the response this request triggers on the chromium server
sourceimpl Debug for InsertTextParams
impl Debug for InsertTextParams
sourceimpl<'de> Deserialize<'de> for InsertTextParams
impl<'de> Deserialize<'de> for InsertTextParams
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<InsertTextParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<InsertTextParams, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T> From<T> for InsertTextParams where
T: Into<String>,
impl<T> From<T> for InsertTextParams where
T: Into<String>,
sourcefn from(url: T) -> InsertTextParams
fn from(url: T) -> InsertTextParams
Converts to this type from the input type.
sourceimpl Method for InsertTextParams
impl Method for InsertTextParams
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like: DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to: DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain: removeNode
sourceimpl MethodType for InsertTextParams
impl MethodType for InsertTextParams
sourceimpl PartialEq<InsertTextParams> for InsertTextParams
impl PartialEq<InsertTextParams> for InsertTextParams
sourcefn eq(&self, other: &InsertTextParams) -> bool
fn eq(&self, other: &InsertTextParams) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InsertTextParams) -> bool
fn ne(&self, other: &InsertTextParams) -> bool
This method tests for !=.
sourceimpl Serialize for InsertTextParams
impl Serialize for InsertTextParams
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InsertTextParams
Auto Trait Implementations
impl RefUnwindSafe for InsertTextParams
impl Send for InsertTextParams
impl Sync for InsertTextParams
impl Unpin for InsertTextParams
impl UnwindSafe for InsertTextParams
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more