pub struct ScrapeResult {
pub url: String,
pub title: Option<String>,
pub format: String,
pub markdown: String,
pub counts: Map<String, Value>,
pub tier: CloudTier,
pub quota: Option<KeylessQuota>,
}Expand description
One clean-markdown page (CloudClient::scrape).
Fields§
§url: StringThe scraped URL.
title: Option<String>Page title, if any.
format: StringOutput format (usually "markdown").
markdown: StringThe extracted markdown.
counts: Map<String, Value>Per-block element counts the server reported.
tier: CloudTierThe tier this call resolved to.
quota: Option<KeylessQuota>Present on the keyless tier only — remaining daily allowance.
Trait Implementations§
Source§impl Clone for ScrapeResult
impl Clone for ScrapeResult
Source§fn clone(&self) -> ScrapeResult
fn clone(&self) -> ScrapeResult
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 moreAuto Trait Implementations§
impl Freeze for ScrapeResult
impl RefUnwindSafe for ScrapeResult
impl Send for ScrapeResult
impl Sync for ScrapeResult
impl Unpin for ScrapeResult
impl UnsafeUnpin for ScrapeResult
impl UnwindSafe for ScrapeResult
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