pub struct EventAttributeModified {
pub node_id: NodeId,
pub name: String,
pub value: String,
}Expand description
Fired when Element’s attribute is modified.
attributeModified
Fields§
§node_id: NodeIdId of the node that has changed.
name: StringAttribute name.
value: StringAttribute value.
Implementations§
Source§impl EventAttributeModified
impl EventAttributeModified
pub const IDENTIFIER: &'static str = "DOM.attributeModified"
Trait Implementations§
Source§impl Clone for EventAttributeModified
impl Clone for EventAttributeModified
Source§fn clone(&self) -> EventAttributeModified
fn clone(&self) -> EventAttributeModified
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 EventAttributeModified
impl Debug for EventAttributeModified
Source§impl<'de> Deserialize<'de> for EventAttributeModified
impl<'de> Deserialize<'de> for EventAttributeModified
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 From<EventAttributeModified> for CdpEvent
impl From<EventAttributeModified> for CdpEvent
Source§fn from(el: EventAttributeModified) -> CdpEvent
fn from(el: EventAttributeModified) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventAttributeModified
impl IntoEventKind for EventAttributeModified
Source§fn event_kind() -> EventKindwhere
Self: Sized + 'static,
fn event_kind() -> EventKindwhere
Self: Sized + 'static,
What kind of event this type is
Source§impl Method for EventAttributeModified
impl Method for EventAttributeModified
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for EventAttributeModified
impl MethodType for EventAttributeModified
Source§impl PartialEq for EventAttributeModified
impl PartialEq for EventAttributeModified
Source§impl Serialize for EventAttributeModified
impl Serialize for EventAttributeModified
Source§impl TryFrom<CdpEvent> for EventAttributeModified
impl TryFrom<CdpEvent> for EventAttributeModified
impl StructuralPartialEq for EventAttributeModified
Auto Trait Implementations§
impl Freeze for EventAttributeModified
impl RefUnwindSafe for EventAttributeModified
impl Send for EventAttributeModified
impl Sync for EventAttributeModified
impl Unpin for EventAttributeModified
impl UnwindSafe for EventAttributeModified
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