pub struct GetEventListenersParams {
pub objectId: RemoteObjectId,
pub depth: Option<i64>,
pub pierce: Option<bool>,
}Expand description
Returns event listeners of the given object.
Fields§
§objectId: RemoteObjectIdIdentifier of the object to return listeners for.
depth: Option<i64>The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
pierce: Option<bool>Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.
Trait Implementations§
Source§impl Clone for GetEventListenersParams
impl Clone for GetEventListenersParams
Source§fn clone(&self) -> GetEventListenersParams
fn clone(&self) -> GetEventListenersParams
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 GetEventListenersParams
impl Debug for GetEventListenersParams
Source§impl Default for GetEventListenersParams
impl Default for GetEventListenersParams
Source§fn default() -> GetEventListenersParams
fn default() -> GetEventListenersParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetEventListenersParams
impl<'de> Deserialize<'de> for GetEventListenersParams
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
Auto Trait Implementations§
impl Freeze for GetEventListenersParams
impl RefUnwindSafe for GetEventListenersParams
impl Send for GetEventListenersParams
impl Sync for GetEventListenersParams
impl Unpin for GetEventListenersParams
impl UnsafeUnpin for GetEventListenersParams
impl UnwindSafe for GetEventListenersParams
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