pub struct DocumentOpened {
pub method: DocumentOpenedMethod,
pub params: DocumentOpenedParams,
}Expand description
Fired when opening document to write to. documentOpened
Fields§
§method: DocumentOpenedMethod§params: DocumentOpenedParamsImplementations§
Source§impl DocumentOpened
impl DocumentOpened
pub const IDENTIFIER: &'static str = "Page.documentOpened"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DocumentOpened
impl Clone for DocumentOpened
Source§fn clone(&self) -> DocumentOpened
fn clone(&self) -> DocumentOpened
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 DocumentOpened
impl Debug for DocumentOpened
Source§impl<'de> Deserialize<'de> for DocumentOpened
impl<'de> Deserialize<'de> for DocumentOpened
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<DocumentOpened> for BrowserProtocolEvents
impl From<DocumentOpened> for BrowserProtocolEvents
Source§fn from(v: DocumentOpened) -> Self
fn from(v: DocumentOpened) -> Self
Converts to this type from the input type.
Source§impl From<DocumentOpened> for Event
impl From<DocumentOpened> for Event
Source§fn from(v: DocumentOpened) -> Self
fn from(v: DocumentOpened) -> Self
Converts to this type from the input type.
Source§impl From<DocumentOpened> for PageEvents
impl From<DocumentOpened> for PageEvents
Source§fn from(v: DocumentOpened) -> Self
fn from(v: DocumentOpened) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DocumentOpened
impl PartialEq for DocumentOpened
Source§impl Serialize for DocumentOpened
impl Serialize for DocumentOpened
Source§impl TryFrom<BrowserProtocolEvents> for DocumentOpened
impl TryFrom<BrowserProtocolEvents> for DocumentOpened
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <DocumentOpened as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DocumentOpened as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DocumentOpened
impl TryFrom<Event> for DocumentOpened
Source§impl TryFrom<PageEvents> for DocumentOpened
impl TryFrom<PageEvents> for DocumentOpened
Source§type Error = PageEvents
type Error = PageEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageEvents,
) -> Result<Self, <DocumentOpened as TryFrom<PageEvents>>::Error>
fn try_from( e: PageEvents, ) -> Result<Self, <DocumentOpened as TryFrom<PageEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DocumentOpened
Auto Trait Implementations§
impl Freeze for DocumentOpened
impl RefUnwindSafe for DocumentOpened
impl Send for DocumentOpened
impl Sync for DocumentOpened
impl Unpin for DocumentOpened
impl UnsafeUnpin for DocumentOpened
impl UnwindSafe for DocumentOpened
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