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>,
}