pub struct CaptureRequest {
pub source_url: IndexUrl,
pub html: String,
pub diagnostic: Option<String>,
}Expand description
Local capture request.
Fields§
§source_url: IndexUrlSource URL whose page shape is represented by this local capture.
html: StringRaw HTML or snapshot source supplied locally by the user.
diagnostic: Option<String>Optional local diagnostic context.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureRequest
impl Clone for CaptureRequest
Source§fn clone(&self) -> CaptureRequest
fn clone(&self) -> CaptureRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaptureRequest
impl Debug for CaptureRequest
Source§impl PartialEq for CaptureRequest
impl PartialEq for CaptureRequest
Source§fn eq(&self, other: &CaptureRequest) -> bool
fn eq(&self, other: &CaptureRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CaptureRequest
impl StructuralPartialEq for CaptureRequest
Auto Trait Implementations§
impl Freeze for CaptureRequest
impl RefUnwindSafe for CaptureRequest
impl Send for CaptureRequest
impl Sync for CaptureRequest
impl Unpin for CaptureRequest
impl UnsafeUnpin for CaptureRequest
impl UnwindSafe for CaptureRequest
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