pub struct ScrapeTarget {
pub name: String,
pub url: String,
pub target_type: Option<String>,
pub selector: Option<String>,
pub content: Option<String>,
pub notebook: Option<String>,
pub recursive: Option<bool>,
pub max_pages: Option<i32>,
pub delay_ms: Option<i32>,
pub ingest: Option<String>,
pub spec_url: Option<String>,
}Expand description
A single scrape target.
Fields§
§name: StringTarget name.
url: StringStart URL to scrape.
target_type: Option<String>Target type: “scrape” (default) or “openapi”.
selector: Option<String>CSS selector for navigation links.
content: Option<String>CSS selector for content area.
notebook: Option<String>Joplin notebook name.
recursive: Option<bool>Enable recursive link discovery.
max_pages: Option<i32>Maximum pages to scrape.
delay_ms: Option<i32>Delay between pages in milliseconds.
ingest: Option<String>RAG provider name for auto-ingest.
spec_url: Option<String>OpenAPI spec URL (for type=openapi targets).
Trait Implementations§
Source§impl Clone for ScrapeTarget
impl Clone for ScrapeTarget
Source§fn clone(&self) -> ScrapeTarget
fn clone(&self) -> ScrapeTarget
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 ScrapeTarget
impl Debug for ScrapeTarget
Source§impl Default for ScrapeTarget
impl Default for ScrapeTarget
Source§fn default() -> ScrapeTarget
fn default() -> ScrapeTarget
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScrapeTarget
impl RefUnwindSafe for ScrapeTarget
impl Send for ScrapeTarget
impl Sync for ScrapeTarget
impl Unpin for ScrapeTarget
impl UnsafeUnpin for ScrapeTarget
impl UnwindSafe for ScrapeTarget
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