news-flash 3.0.1

Base library for a modern feed reader
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use cache_control::CacheControl;
use feed_rs::model::Feed;

use crate::error::FeedApiError;

pub struct DownloadSuccess {
    pub feed: Feed,
    pub etag: Option<String>,
    pub cache_control: Option<CacheControl>,
}

pub struct DownloadFailure {
    pub msg: String,
    pub error: FeedApiError,
    pub retry_after: Option<u64>,
}