pub struct SetAttributesAsText {
pub method: SetAttributesAsTextMethod,
pub params: SetAttributesAsTextParams,
}Expand description
Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs. setAttributesAsText
Fields§
§method: SetAttributesAsTextMethod§params: SetAttributesAsTextParamsImplementations§
Source§impl SetAttributesAsText
impl SetAttributesAsText
pub fn builder() -> SetAttributesAsTextBuilder
Source§impl SetAttributesAsText
impl SetAttributesAsText
pub const IDENTIFIER: &'static str = "DOM.setAttributesAsText"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetAttributesAsText
impl Clone for SetAttributesAsText
Source§fn clone(&self) -> SetAttributesAsText
fn clone(&self) -> SetAttributesAsText
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 SetAttributesAsText
impl CommandResult for SetAttributesAsText
type Result = SetAttributesAsTextResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetAttributesAsText
impl Debug for SetAttributesAsText
Source§impl<'de> Deserialize<'de> for SetAttributesAsText
impl<'de> Deserialize<'de> for SetAttributesAsText
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<SetAttributesAsText> for BrowserProtocolCommands
impl From<SetAttributesAsText> for BrowserProtocolCommands
Source§fn from(v: SetAttributesAsText) -> Self
fn from(v: SetAttributesAsText) -> Self
Converts to this type from the input type.
Source§impl From<SetAttributesAsText> for Command
impl From<SetAttributesAsText> for Command
Source§fn from(v: SetAttributesAsText) -> Self
fn from(v: SetAttributesAsText) -> Self
Converts to this type from the input type.
Source§impl From<SetAttributesAsText> for DomCommands
impl From<SetAttributesAsText> for DomCommands
Source§fn from(v: SetAttributesAsText) -> Self
fn from(v: SetAttributesAsText) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetAttributesAsText
impl PartialEq for SetAttributesAsText
Source§impl Serialize for SetAttributesAsText
impl Serialize for SetAttributesAsText
Source§impl TryFrom<BrowserProtocolCommands> for SetAttributesAsText
impl TryFrom<BrowserProtocolCommands> for SetAttributesAsText
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, <SetAttributesAsText as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetAttributesAsText as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetAttributesAsText
impl TryFrom<Command> for SetAttributesAsText
Source§impl TryFrom<DomCommands> for SetAttributesAsText
impl TryFrom<DomCommands> for SetAttributesAsText
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <SetAttributesAsText as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <SetAttributesAsText as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetAttributesAsText
Auto Trait Implementations§
impl Freeze for SetAttributesAsText
impl RefUnwindSafe for SetAttributesAsText
impl Send for SetAttributesAsText
impl Sync for SetAttributesAsText
impl Unpin for SetAttributesAsText
impl UnsafeUnpin for SetAttributesAsText
impl UnwindSafe for SetAttributesAsText
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