pub struct BatchCrawlStreamRequest {
pub urls: Vec<String>,
}Expand description
Request to begin a multi-URL streaming crawl.
Wraps a set of seed URLs for delivery through the streaming-adapter binding surface. Required as a struct because alef’s streaming adapter requires a named request type — primitives are not supported.
Fields§
§urls: Vec<String>The seed URLs to crawl. Each URL is followed independently up to the engine’s configured depth.
Trait Implementations§
Source§impl Clone for BatchCrawlStreamRequest
impl Clone for BatchCrawlStreamRequest
Source§fn clone(&self) -> BatchCrawlStreamRequest
fn clone(&self) -> BatchCrawlStreamRequest
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 BatchCrawlStreamRequest
impl Debug for BatchCrawlStreamRequest
Source§impl Default for BatchCrawlStreamRequest
impl Default for BatchCrawlStreamRequest
Source§fn default() -> BatchCrawlStreamRequest
fn default() -> BatchCrawlStreamRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchCrawlStreamRequest
impl<'de> Deserialize<'de> for BatchCrawlStreamRequest
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 BatchCrawlStreamRequest
impl RefUnwindSafe for BatchCrawlStreamRequest
impl Send for BatchCrawlStreamRequest
impl Sync for BatchCrawlStreamRequest
impl Unpin for BatchCrawlStreamRequest
impl UnsafeUnpin for BatchCrawlStreamRequest
impl UnwindSafe for BatchCrawlStreamRequest
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