pub struct BatchScrapeUrlsInput {
pub urls: Vec<String>,
pub webhook: Option<Webhook>,
pub ignore_invalid_urls: Option<bool>,
pub poll_interval: Option<u64>,
pub idempotency_key: Option<String>,
pub options: Option<ScrapeOptions>,
}Fields§
§urls: Vec<String>List of URLs to scrape
webhook: Option<Webhook>Webhook configuration for notifications, the url default to a dummy url
ignore_invalid_urls: Option<bool>Whether to ignore invalid URLs
poll_interval: Option<u64>Poll interval in milliseconds. (default: 2000)
idempotency_key: Option<String>§options: Option<ScrapeOptions>Scraping options
Trait Implementations§
Source§impl Clone for BatchScrapeUrlsInput
impl Clone for BatchScrapeUrlsInput
Source§fn clone(&self) -> BatchScrapeUrlsInput
fn clone(&self) -> BatchScrapeUrlsInput
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 BatchScrapeUrlsInput
impl Debug for BatchScrapeUrlsInput
Source§impl Default for BatchScrapeUrlsInput
impl Default for BatchScrapeUrlsInput
Source§fn default() -> BatchScrapeUrlsInput
fn default() -> BatchScrapeUrlsInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchScrapeUrlsInput
impl<'de> Deserialize<'de> for BatchScrapeUrlsInput
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
Source§impl PartialEq for BatchScrapeUrlsInput
impl PartialEq for BatchScrapeUrlsInput
Source§impl Serialize for BatchScrapeUrlsInput
impl Serialize for BatchScrapeUrlsInput
impl Eq for BatchScrapeUrlsInput
impl StructuralPartialEq for BatchScrapeUrlsInput
Auto Trait Implementations§
impl Freeze for BatchScrapeUrlsInput
impl RefUnwindSafe for BatchScrapeUrlsInput
impl Send for BatchScrapeUrlsInput
impl Sync for BatchScrapeUrlsInput
impl Unpin for BatchScrapeUrlsInput
impl UnwindSafe for BatchScrapeUrlsInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.