pub struct CrawlUrlInput {
pub url: String,
pub options: CrawlOptions,
pub poll_interval: Option<u64>,
pub idempotency_key: Option<String>,
pub webhook: Option<Webhook>,
}Fields§
§url: StringStarting URL for the crawl
options: CrawlOptions§poll_interval: Option<u64>How often the status of the job should be checked, in milliseconds. (default: 2000)
idempotency_key: Option<String>§webhook: Option<Webhook>Webhook URL to notify when crawl is complete, default to a dummy url
Trait Implementations§
Source§impl Debug for CrawlUrlInput
impl Debug for CrawlUrlInput
Source§impl Default for CrawlUrlInput
impl Default for CrawlUrlInput
Source§fn default() -> CrawlUrlInput
fn default() -> CrawlUrlInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CrawlUrlInput
impl<'de> Deserialize<'de> for CrawlUrlInput
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
Auto Trait Implementations§
impl Freeze for CrawlUrlInput
impl RefUnwindSafe for CrawlUrlInput
impl Send for CrawlUrlInput
impl Sync for CrawlUrlInput
impl Unpin for CrawlUrlInput
impl UnwindSafe for CrawlUrlInput
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