pub struct SourceRecord {
pub feed: String,
pub uri: String,
pub sha256: String,
pub bytes: u64,
pub fetched_at: DateTime<Utc>,
pub records: u64,
}Expand description
Where one feed’s bytes came from, and what they hashed to.
Fields§
§feed: Stringosv:PyPI, nvd:recent, kev.
uri: String§sha256: String§bytes: u64§fetched_at: DateTime<Utc>§records: u64Records the feed contributed (advisories, NVD entries or KEV ids).
Trait Implementations§
Source§impl Clone for SourceRecord
impl Clone for SourceRecord
Source§impl Debug for SourceRecord
impl Debug for SourceRecord
Source§impl<'de> Deserialize<'de> for SourceRecord
impl<'de> Deserialize<'de> for SourceRecord
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
Source§impl PartialEq for SourceRecord
impl PartialEq for SourceRecord
Source§impl Serialize for SourceRecord
impl Serialize for SourceRecord
impl StructuralPartialEq for SourceRecord
Auto Trait Implementations§
impl Freeze for SourceRecord
impl RefUnwindSafe for SourceRecord
impl Send for SourceRecord
impl Sync for SourceRecord
impl Unpin for SourceRecord
impl UnsafeUnpin for SourceRecord
impl UnwindSafe for SourceRecord
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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