Struct chromiumoxide_cdp::cdp::browser_protocol::dom::MoveToParams [−][src]
pub struct MoveToParams { pub node_id: NodeId, pub target_node_id: NodeId, pub insert_before_node_id: Option<NodeId>, }
Expand description
Moves node into the new container, places it before the given anchor. moveTo
Fields
node_id: NodeId
Id of the node to move.
target_node_id: NodeId
Id of the element to drop the moved node into.
insert_before_node_id: Option<NodeId>
Drop node before this one (if absent, the moved node becomes the last child of
targetNodeId
).
Implementations
Trait Implementations
type Response = MoveToReturns
type Response = MoveToReturns
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MoveToParams
impl Send for MoveToParams
impl Sync for MoveToParams
impl Unpin for MoveToParams
impl UnwindSafe for MoveToParams
Blanket Implementations
Mutably borrows from an owned value. Read more