pub struct CrawlResult {
pub seed_url: String,
pub max_pages: usize,
pub pages: Vec<CrawlPage>,
pub truncated: Option<bool>,
}Expand description
Bounded same-origin crawl discovery summary.
Fields§
§seed_url: StringSeed URL requested by the caller.
max_pages: usizeMaximum page budget used for this crawl, including the seed.
pages: Vec<CrawlPage>Pages visited or attempted, in discovery order.
truncated: Option<bool>True when more same-origin candidates existed than the page budget allowed.
Trait Implementations§
Source§impl Clone for CrawlResult
impl Clone for CrawlResult
Source§impl Debug for CrawlResult
impl Debug for CrawlResult
Source§impl Default for CrawlResult
impl Default for CrawlResult
Source§impl<'de> Deserialize<'de> for CrawlResult
impl<'de> Deserialize<'de> for CrawlResult
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 JsonSchema for CrawlResult
impl JsonSchema for CrawlResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CrawlResult
impl RefUnwindSafe for CrawlResult
impl Send for CrawlResult
impl Sync for CrawlResult
impl Unpin for CrawlResult
impl UnsafeUnpin for CrawlResult
impl UnwindSafe for CrawlResult
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