pub struct CatalogCache {
pub schema_version: u32,
pub source: String,
pub fetched_at: DateTime<Utc>,
pub ttl_secs: u64,
pub entries: BTreeMap<String, CatalogEntry>,
}Fields§
§schema_version: u32§source: String§fetched_at: DateTime<Utc>§ttl_secs: u64§entries: BTreeMap<String, CatalogEntry>Implementations§
Trait Implementations§
Source§impl Clone for CatalogCache
impl Clone for CatalogCache
Source§fn clone(&self) -> CatalogCache
fn clone(&self) -> CatalogCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CatalogCache
impl Debug for CatalogCache
Source§impl<'de> Deserialize<'de> for CatalogCache
impl<'de> Deserialize<'de> for CatalogCache
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 CatalogCache
impl PartialEq for CatalogCache
Source§impl Serialize for CatalogCache
impl Serialize for CatalogCache
impl StructuralPartialEq for CatalogCache
Auto Trait Implementations§
impl Freeze for CatalogCache
impl RefUnwindSafe for CatalogCache
impl Send for CatalogCache
impl Sync for CatalogCache
impl Unpin for CatalogCache
impl UnsafeUnpin for CatalogCache
impl UnwindSafe for CatalogCache
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