Struct chrome_remote_interface_model::dom::SetNodeNameCommand[][src]

pub struct SetNodeNameCommand { /* fields omitted */ }
This is supported on crate features DOM and Runtime only.

Sets node name for a node with given id.

Implementations

impl SetNodeNameCommand[src]

pub fn new(node_id: NodeId, name: String) -> Self[src]

pub fn node_id(&self) -> &NodeId[src]

Id of the node to set name for.

pub fn name(&self) -> &str[src]

New node's name.

Trait Implementations

impl Clone for SetNodeNameCommand[src]

impl Command for SetNodeNameCommand[src]

type Return = SetNodeNameReturn

Return type.

impl Debug for SetNodeNameCommand[src]

impl<'de> Deserialize<'de> for SetNodeNameCommand[src]

impl Serialize for SetNodeNameCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.