pub struct CrawlData {Show 13 fields
pub url: String,
pub title: String,
pub content: Option<String>,
pub readable_content: Option<Value>,
pub links: Option<Vec<Value>>,
pub links_count: usize,
pub images: Option<Vec<Value>>,
pub images_count: usize,
pub metadata: Option<Value>,
pub tables: Option<Vec<Value>>,
pub forms: Option<Vec<Value>>,
pub structured_data: Option<Vec<Value>>,
pub content_error: Option<String>,
}Fields§
§url: String§title: String§content: Option<String>§readable_content: Option<Value>§links: Option<Vec<Value>>§links_count: usize§images: Option<Vec<Value>>§images_count: usize§metadata: Option<Value>§tables: Option<Vec<Value>>§forms: Option<Vec<Value>>§structured_data: Option<Vec<Value>>§content_error: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CrawlData
impl<'de> Deserialize<'de> for CrawlData
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 CrawlData
impl JsonSchema for CrawlData
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 CrawlData
impl RefUnwindSafe for CrawlData
impl Send for CrawlData
impl Sync for CrawlData
impl Unpin for CrawlData
impl UnwindSafe for CrawlData
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