pub struct GetDocument {
pub method: GetDocumentMethod,
pub params: GetDocumentParams,
}Expand description
Returns the root DOM node (and optionally the subtree) to the caller. Implicitly enables the DOM domain events for the current target. getDocument
Fields§
§method: GetDocumentMethod§params: GetDocumentParamsImplementations§
Source§impl GetDocument
impl GetDocument
pub fn builder() -> GetDocumentBuilder
Source§impl GetDocument
impl GetDocument
pub const IDENTIFIER: &'static str = "DOM.getDocument"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetDocument
impl Clone for GetDocument
Source§fn clone(&self) -> GetDocument
fn clone(&self) -> GetDocument
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 CommandResult for GetDocument
impl CommandResult for GetDocument
type Result = GetDocumentResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetDocument
impl Debug for GetDocument
Source§impl<'de> Deserialize<'de> for GetDocument
impl<'de> Deserialize<'de> for GetDocument
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<GetDocument> for BrowserProtocolCommands
impl From<GetDocument> for BrowserProtocolCommands
Source§fn from(v: GetDocument) -> Self
fn from(v: GetDocument) -> Self
Converts to this type from the input type.
Source§impl From<GetDocument> for Command
impl From<GetDocument> for Command
Source§fn from(v: GetDocument) -> Self
fn from(v: GetDocument) -> Self
Converts to this type from the input type.
Source§impl From<GetDocument> for DomCommands
impl From<GetDocument> for DomCommands
Source§fn from(v: GetDocument) -> Self
fn from(v: GetDocument) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetDocument
impl PartialEq for GetDocument
Source§impl Serialize for GetDocument
impl Serialize for GetDocument
Source§impl TryFrom<BrowserProtocolCommands> for GetDocument
impl TryFrom<BrowserProtocolCommands> for GetDocument
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetDocument as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetDocument as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetDocument
impl TryFrom<Command> for GetDocument
Source§impl TryFrom<DomCommands> for GetDocument
impl TryFrom<DomCommands> for GetDocument
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <GetDocument as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetDocument as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetDocument
Auto Trait Implementations§
impl Freeze for GetDocument
impl RefUnwindSafe for GetDocument
impl Send for GetDocument
impl Sync for GetDocument
impl Unpin for GetDocument
impl UnsafeUnpin for GetDocument
impl UnwindSafe for GetDocument
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