pub struct SetChildNodesParams {
pub parent_id: NodeId,
pub nodes: Vec<Node>,
}Expand description
Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids. setChildNodes
Fields§
§parent_id: NodeIdParent node id to populate with children.
nodes: Vec<Node>Child nodes array.
Trait Implementations§
Source§impl Clone for SetChildNodesParams
impl Clone for SetChildNodesParams
Source§fn clone(&self) -> SetChildNodesParams
fn clone(&self) -> SetChildNodesParams
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 Debug for SetChildNodesParams
impl Debug for SetChildNodesParams
Source§impl<'de> Deserialize<'de> for SetChildNodesParams
impl<'de> Deserialize<'de> for SetChildNodesParams
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 PartialEq for SetChildNodesParams
impl PartialEq for SetChildNodesParams
Source§impl Serialize for SetChildNodesParams
impl Serialize for SetChildNodesParams
impl StructuralPartialEq for SetChildNodesParams
Auto Trait Implementations§
impl Freeze for SetChildNodesParams
impl RefUnwindSafe for SetChildNodesParams
impl Send for SetChildNodesParams
impl Sync for SetChildNodesParams
impl Unpin for SetChildNodesParams
impl UnsafeUnpin for SetChildNodesParams
impl UnwindSafe for SetChildNodesParams
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