pub struct CatalogSnapshot {
pub date: String,
pub etag: String,
}Expand description
When the shipped catalog was read from the registry.
Fields§
§date: StringThe registry’s Date header.
etag: StringThe registry’s ETag header.
Trait Implementations§
Source§impl Clone for CatalogSnapshot
impl Clone for CatalogSnapshot
Source§impl Debug for CatalogSnapshot
impl Debug for CatalogSnapshot
Source§impl<'de> Deserialize<'de> for CatalogSnapshot
impl<'de> Deserialize<'de> for CatalogSnapshot
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 Eq for CatalogSnapshot
Source§impl PartialEq for CatalogSnapshot
impl PartialEq for CatalogSnapshot
Source§impl Serialize for CatalogSnapshot
impl Serialize for CatalogSnapshot
impl StructuralPartialEq for CatalogSnapshot
Auto Trait Implementations§
impl Freeze for CatalogSnapshot
impl RefUnwindSafe for CatalogSnapshot
impl Send for CatalogSnapshot
impl Sync for CatalogSnapshot
impl Unpin for CatalogSnapshot
impl UnsafeUnpin for CatalogSnapshot
impl UnwindSafe for CatalogSnapshot
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