pub struct FeedResult {
pub feed_url: String,
pub status: FeedStatus,
pub from_cache: bool,
pub title: Option<String>,
pub site_url: Option<String>,
pub updated: Option<String>,
pub item_count: usize,
pub content_tokens_est_total: u64,
pub items: Vec<Item>,
pub error: Option<ErrorObj>,
}Expand description
Per-feed result.
Fields§
§feed_url: String§status: FeedStatus§from_cache: bool§title: Option<String>§site_url: Option<String>§updated: Option<String>Feed-level last-updated timestamp (RFC-3339 UTC), if the feed provides one.
item_count: usizeNumber of items returned for this feed (equals items.len(); surfaced as an explicit
budgeting count).
content_tokens_est_total: u64Sum of this feed’s items’ content_tokens_est (reflects truncation).
items: Vec<Item>§error: Option<ErrorObj>Implementations§
Trait Implementations§
Source§impl Clone for FeedResult
impl Clone for FeedResult
Source§fn clone(&self) -> FeedResult
fn clone(&self) -> FeedResult
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 FeedResult
impl Debug for FeedResult
Source§impl<'de> Deserialize<'de> for FeedResult
impl<'de> Deserialize<'de> for FeedResult
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 FeedResult
impl JsonSchema for FeedResult
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 FeedResult
impl RefUnwindSafe for FeedResult
impl Send for FeedResult
impl Sync for FeedResult
impl Unpin for FeedResult
impl UnsafeUnpin for FeedResult
impl UnwindSafe for FeedResult
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