pub enum CrawlerContentFormat {
Html,
CleanHtml,
Markdown,
Text,
Json,
ExtractedData,
PageMetadata,
}Expand description
Content formats the crawler API supports.
Variants§
Html
Raw HTML.
CleanHtml
Cleaned HTML.
Markdown
Markdown.
Text
Plain text.
Json
Structured JSON.
ExtractedData
Extracted data (AI template).
PageMetadata
Page metadata.
Implementations§
Trait Implementations§
Source§impl Clone for CrawlerContentFormat
impl Clone for CrawlerContentFormat
Source§fn clone(&self) -> CrawlerContentFormat
fn clone(&self) -> CrawlerContentFormat
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 CrawlerContentFormat
impl Debug for CrawlerContentFormat
Source§impl<'de> Deserialize<'de> for CrawlerContentFormat
impl<'de> Deserialize<'de> for CrawlerContentFormat
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 CrawlerContentFormat
impl PartialEq for CrawlerContentFormat
Source§impl Serialize for CrawlerContentFormat
impl Serialize for CrawlerContentFormat
impl Copy for CrawlerContentFormat
impl Eq for CrawlerContentFormat
impl StructuralPartialEq for CrawlerContentFormat
Auto Trait Implementations§
impl Freeze for CrawlerContentFormat
impl RefUnwindSafe for CrawlerContentFormat
impl Send for CrawlerContentFormat
impl Sync for CrawlerContentFormat
impl Unpin for CrawlerContentFormat
impl UnsafeUnpin for CrawlerContentFormat
impl UnwindSafe for CrawlerContentFormat
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