Struct cdp::dom::AttributeModifiedEvent
[−]
[src]
pub struct AttributeModifiedEvent<'a> {
pub node_id: NodeId,
pub name: Cow<'a, str>,
pub value: Cow<'a, str>,
}Fired when Element's attribute is modified.
Event DOM.attributeModified
Domain Module: cdp::dom
Event Struct: cdp::dom::AttributeModifiedEvent
Fields
node_id: NodeId
Id of the node that has changed.
name: Cow<'a, str>
Attribute name.
value: Cow<'a, str>
Attribute value.
Trait Implementations
impl<'a> Clone for AttributeModifiedEvent<'a>[src]
fn clone(&self) -> AttributeModifiedEvent<'a>[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<'a> Debug for AttributeModifiedEvent<'a>[src]
impl<'a> PartialEq for AttributeModifiedEvent<'a>[src]
fn eq(&self, __arg_0: &AttributeModifiedEvent<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AttributeModifiedEvent<'a>) -> bool[src]
This method tests for !=.
impl<'a> CdpEvent for AttributeModifiedEvent<'a>[src]
const EVENT_NAME: &'static str
EVENT_NAME: &'static str = "DOM.attributeModified"
impl<'a> SerializeCdpEvent for AttributeModifiedEvent<'a>[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, 'a> DeserializeCdpEvent<'de> for AttributeModifiedEvent<'a>[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>,