pub struct GetFlattenedDocumentParamsBuilder { /* private fields */ }Implementations§
Source§impl GetFlattenedDocumentParamsBuilder
impl GetFlattenedDocumentParamsBuilder
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) -> GetFlattenedDocumentParams
Trait Implementations§
Source§impl Default for GetFlattenedDocumentParamsBuilder
impl Default for GetFlattenedDocumentParamsBuilder
Source§fn default() -> GetFlattenedDocumentParamsBuilder
fn default() -> GetFlattenedDocumentParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetFlattenedDocumentParamsBuilder
impl RefUnwindSafe for GetFlattenedDocumentParamsBuilder
impl Send for GetFlattenedDocumentParamsBuilder
impl Sync for GetFlattenedDocumentParamsBuilder
impl Unpin for GetFlattenedDocumentParamsBuilder
impl UnsafeUnpin for GetFlattenedDocumentParamsBuilder
impl UnwindSafe for GetFlattenedDocumentParamsBuilder
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