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