Struct chromiumoxide::cdp::browser_protocol::dom::CopyToParams[][src]

pub struct CopyToParams {
    pub node_id: NodeId,
    pub target_node_id: NodeId,
    pub insert_before_node_id: Option<NodeId>,
}

Creates a deep copy of the specified node and places it into the target container before the given anchor. copyTo

Fields

node_id: NodeId

Id of the node to copy.

target_node_id: NodeId

Id of the element to drop the copy into.

insert_before_node_id: Option<NodeId>

Drop the copy before this node (if absent, the copy becomes the last child of targetNodeId).

Implementations

impl CopyToParams[src]

pub fn new(
    node_id: impl Into<NodeId>,
    target_node_id: impl Into<NodeId>
) -> CopyToParams
[src]

impl CopyToParams[src]

impl CopyToParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for CopyToParams[src]

impl Command for CopyToParams[src]

type Response = CopyToReturns

The type of the response this request triggers on the chromium server

impl Debug for CopyToParams[src]

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

impl Method for CopyToParams[src]

impl MethodType for CopyToParams[src]

impl PartialEq<CopyToParams> for CopyToParams[src]

impl Serialize for CopyToParams[src]

impl StructuralPartialEq for CopyToParams[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,