pub struct BatchScrapeRequest {
pub urls: Vec<String>,
pub ignore_invalid_urls: bool,
pub max_concurrency: Option<usize>,
pub webhook: Option<Value>,
pub options: ScrapeOptions,
}Fields§
§urls: Vec<String>§ignore_invalid_urls: bool§max_concurrency: Option<usize>§webhook: Option<Value>§options: ScrapeOptionsImplementations§
Source§impl BatchScrapeRequest
impl BatchScrapeRequest
Sourcepub const OWN_FIELDS: &'static [&'static str]
pub const OWN_FIELDS: &'static [&'static str]
Its own top-level fields, besides the flattened ScrapeOptions (serde cannot list fields of
a struct with flatten; a test checks this list against the serialized form).
Trait Implementations§
Source§impl Clone for BatchScrapeRequest
impl Clone for BatchScrapeRequest
Source§impl Debug for BatchScrapeRequest
impl Debug for BatchScrapeRequest
Source§impl<'de> Deserialize<'de> for BatchScrapeRequest
impl<'de> Deserialize<'de> for BatchScrapeRequest
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 BatchScrapeRequest
impl PartialEq for BatchScrapeRequest
Source§impl Serialize for BatchScrapeRequest
impl Serialize for BatchScrapeRequest
impl StructuralPartialEq for BatchScrapeRequest
Auto Trait Implementations§
impl Forget for BatchScrapeRequest
impl Freeze for BatchScrapeRequest
impl Move for BatchScrapeRequest
impl RefUnwindSafe for BatchScrapeRequest
impl Send for BatchScrapeRequest
impl Sync for BatchScrapeRequest
impl Unpin for BatchScrapeRequest
impl UnsafeUnpin for BatchScrapeRequest
impl UnwindSafe for BatchScrapeRequest
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