pub struct GetDocumentParamsBuilder { /* private fields */ }Implementations§
Source§impl GetDocumentParamsBuilder
impl GetDocumentParamsBuilder
Sourcepub fn depth(self, depth: i64) -> Self
pub fn depth(self, depth: i64) -> Self
The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
Sourcepub fn pierce(self, pierce: bool) -> Self
pub fn pierce(self, pierce: bool) -> Self
Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false).
pub fn build(self) -> GetDocumentParams
Trait Implementations§
Source§impl Default for GetDocumentParamsBuilder
impl Default for GetDocumentParamsBuilder
Source§fn default() -> GetDocumentParamsBuilder
fn default() -> GetDocumentParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetDocumentParamsBuilder
impl RefUnwindSafe for GetDocumentParamsBuilder
impl Send for GetDocumentParamsBuilder
impl Sync for GetDocumentParamsBuilder
impl Unpin for GetDocumentParamsBuilder
impl UnsafeUnpin for GetDocumentParamsBuilder
impl UnwindSafe for GetDocumentParamsBuilder
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