pub struct Catalogue {
pub fetched_at: String,
pub release: Option<String>,
pub entries: Vec<CatalogueEntry>,
pub skipped: usize,
}Expand description
The feed as one fetch found it.
Fields§
§fetched_at: StringRFC 3339, stamped when the fetch ran.
release: Option<String>The upstream release tag the feed stood at, when it answered.
entries: Vec<CatalogueEntry>§skipped: usizeHow many listed documents did not become entries: a bad document never fails the feed, and this is what keeps the loss visible.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Catalogue
impl<'de> Deserialize<'de> for Catalogue
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
impl StructuralPartialEq for Catalogue
Auto Trait Implementations§
impl Freeze for Catalogue
impl RefUnwindSafe for Catalogue
impl Send for Catalogue
impl Sync for Catalogue
impl Unpin for Catalogue
impl UnsafeUnpin for Catalogue
impl UnwindSafe for Catalogue
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