Struct chromiumoxide::cdp::browser_protocol::dom::SetNodeNameParams
source · pub struct SetNodeNameParams {
pub node_id: NodeId,
pub name: String,
}Expand description
Sets node name for a node with given id. setNodeName
Fields§
§node_id: NodeIdId of the node to set name for.
name: StringNew node’s name.
Implementations§
source§impl SetNodeNameParams
impl SetNodeNameParams
pub fn builder() -> SetNodeNameParamsBuilder
source§impl SetNodeNameParams
impl SetNodeNameParams
pub const IDENTIFIER: &'static str = "DOM.setNodeName"
Trait Implementations§
source§impl Clone for SetNodeNameParams
impl Clone for SetNodeNameParams
source§fn clone(&self) -> SetNodeNameParams
fn clone(&self) -> SetNodeNameParams
Returns a copy 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 Command for SetNodeNameParams
impl Command for SetNodeNameParams
§type Response = SetNodeNameReturns
type Response = SetNodeNameReturns
The type of the response this request triggers on the chromium server
source§impl Debug for SetNodeNameParams
impl Debug for SetNodeNameParams
source§impl<'de> Deserialize<'de> for SetNodeNameParams
impl<'de> Deserialize<'de> for SetNodeNameParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SetNodeNameParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<SetNodeNameParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for SetNodeNameParams
impl Method for SetNodeNameParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for SetNodeNameParams
impl MethodType for SetNodeNameParams
source§impl PartialEq<SetNodeNameParams> for SetNodeNameParams
impl PartialEq<SetNodeNameParams> for SetNodeNameParams
source§fn eq(&self, other: &SetNodeNameParams) -> bool
fn eq(&self, other: &SetNodeNameParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SetNodeNameParams
impl Serialize for SetNodeNameParams
source§fn 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 SetNodeNameParams
Auto Trait Implementations§
impl RefUnwindSafe for SetNodeNameParams
impl Send for SetNodeNameParams
impl Sync for SetNodeNameParams
impl Unpin for SetNodeNameParams
impl UnwindSafe for SetNodeNameParams
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