pub struct FetchOutput {
pub schema_version: String,
pub fetched_at: String,
pub total_items: usize,
pub total_content_tokens_est: u64,
pub feeds: Vec<FeedResult>,
pub errors: Vec<ErrorObj>,
pub warnings: Vec<Warning>,
pub truncation: Option<TruncationInfo>,
}Expand description
Top-level result of rss fetch.
Fields§
§schema_version: String§fetched_at: StringRFC-3339 / ISO-8601 UTC timestamp of when this invocation ran.
total_items: usizeTotal number of items returned across every feed (after limit/--since). Lets an
agent budget before walking the feeds array.
total_content_tokens_est: u64Sum of every item’s content_tokens_est (reflects truncation). The number to budget
a response against.
feeds: Vec<FeedResult>§errors: Vec<ErrorObj>Feed-level errors mirrored here for quick scanning (also present per-feed).
warnings: Vec<Warning>Non-fatal data-quality warnings (e.g. a content converter fell back to a tag strip,
or a feed’s items are entirely undated). Empty [] normally; each carries its
feed_url. Distinct from errors, which mean a feed failed outright.
truncation: Option<TruncationInfo>Present (non-null) when this result was bounded — an item cap was applied, item
bodies were truncated, or items were omitted to fit a size budget. null otherwise.
Primarily populated by the MCP server, which bounds responses (see the rss mcp
docs); the CLI populates it only when --max-content-chars truncates content.
Implementations§
Trait Implementations§
Source§impl Clone for FetchOutput
impl Clone for FetchOutput
Source§fn clone(&self) -> FetchOutput
fn clone(&self) -> FetchOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FetchOutput
impl Debug for FetchOutput
Source§impl<'de> Deserialize<'de> for FetchOutput
impl<'de> Deserialize<'de> for FetchOutput
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>,
Source§impl JsonSchema for FetchOutput
impl JsonSchema for FetchOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more