Struct cdp::dom::ChildNodeCountUpdatedEvent
[−]
[src]
pub struct ChildNodeCountUpdatedEvent { pub node_id: NodeId, pub child_node_count: i32, }
Fired when Container
's child node count has changed.
Event DOM.childNodeCountUpdated
Domain Module: cdp::dom
Event Struct: cdp::dom::ChildNodeCountUpdatedEvent
Fields
node_id: NodeId
Id of the node that has changed.
child_node_count: i32
New node count.
Trait Implementations
impl Clone for ChildNodeCountUpdatedEvent
[src]
fn clone(&self) -> ChildNodeCountUpdatedEvent
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ChildNodeCountUpdatedEvent
[src]
impl PartialEq for ChildNodeCountUpdatedEvent
[src]
fn eq(&self, __arg_0: &ChildNodeCountUpdatedEvent) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ChildNodeCountUpdatedEvent) -> bool
[src]
This method tests for !=
.
impl CdpEvent for ChildNodeCountUpdatedEvent
[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "DOM.childNodeCountUpdated"
impl SerializeCdpEvent for ChildNodeCountUpdatedEvent
[src]
fn event_name(&self) -> &str
[src]
fn serialize_event_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de> DeserializeCdpEvent<'de> for ChildNodeCountUpdatedEvent
[src]
fn deserialize_event<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,