pub struct RawFeed {
pub body: Vec<u8>,
pub final_url: String,
pub content_type: Option<String>,
pub status: u16,
pub not_modified: bool,
pub from_cache: bool,
}Expand description
Raw bytes of a fetched (or cached) feed, plus the metadata parse/core need.
Fields§
§body: Vec<u8>§final_url: StringURL after redirects (use to resolve relative item links).
content_type: Option<String>§status: u16§not_modified: boolTrue when served from cache via a 304 (or a MaxAge/CacheFirst hit).
from_cache: boolTrue when the returned body came from the cache rather than a fresh 200 body.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawFeed
impl RefUnwindSafe for RawFeed
impl Send for RawFeed
impl Sync for RawFeed
impl Unpin for RawFeed
impl UnsafeUnpin for RawFeed
impl UnwindSafe for RawFeed
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