pub struct SetAttributeValue {
pub method: SetAttributeValueMethod,
pub params: SetAttributeValueParams,
}Expand description
Sets attribute for an element with given id. setAttributeValue
Fields§
§method: SetAttributeValueMethod§params: SetAttributeValueParamsImplementations§
Source§impl SetAttributeValue
impl SetAttributeValue
pub fn builder() -> SetAttributeValueBuilder
Source§impl SetAttributeValue
impl SetAttributeValue
pub const IDENTIFIER: &'static str = "DOM.setAttributeValue"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetAttributeValue
impl Clone for SetAttributeValue
Source§fn clone(&self) -> SetAttributeValue
fn clone(&self) -> SetAttributeValue
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 SetAttributeValue
impl CommandResult for SetAttributeValue
type Result = SetAttributeValueResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetAttributeValue
impl Debug for SetAttributeValue
Source§impl<'de> Deserialize<'de> for SetAttributeValue
impl<'de> Deserialize<'de> for SetAttributeValue
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<SetAttributeValue> for BrowserProtocolCommands
impl From<SetAttributeValue> for BrowserProtocolCommands
Source§fn from(v: SetAttributeValue) -> Self
fn from(v: SetAttributeValue) -> Self
Converts to this type from the input type.
Source§impl From<SetAttributeValue> for Command
impl From<SetAttributeValue> for Command
Source§fn from(v: SetAttributeValue) -> Self
fn from(v: SetAttributeValue) -> Self
Converts to this type from the input type.
Source§impl From<SetAttributeValue> for DomCommands
impl From<SetAttributeValue> for DomCommands
Source§fn from(v: SetAttributeValue) -> Self
fn from(v: SetAttributeValue) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetAttributeValue
impl PartialEq for SetAttributeValue
Source§impl Serialize for SetAttributeValue
impl Serialize for SetAttributeValue
Source§impl TryFrom<BrowserProtocolCommands> for SetAttributeValue
impl TryFrom<BrowserProtocolCommands> for SetAttributeValue
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, <SetAttributeValue as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetAttributeValue as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetAttributeValue
impl TryFrom<Command> for SetAttributeValue
Source§impl TryFrom<DomCommands> for SetAttributeValue
impl TryFrom<DomCommands> for SetAttributeValue
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, <SetAttributeValue as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <SetAttributeValue as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetAttributeValue
Auto Trait Implementations§
impl Freeze for SetAttributeValue
impl RefUnwindSafe for SetAttributeValue
impl Send for SetAttributeValue
impl Sync for SetAttributeValue
impl Unpin for SetAttributeValue
impl UnsafeUnpin for SetAttributeValue
impl UnwindSafe for SetAttributeValue
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