pub struct MetadataCache {
pub version: u32,
pub servers: HashMap<String, ServerCacheEntry>,
}Expand description
Root metadata cache structure.
Fields§
§version: u32§servers: HashMap<String, ServerCacheEntry>Trait Implementations§
Source§impl Clone for MetadataCache
impl Clone for MetadataCache
Source§fn clone(&self) -> MetadataCache
fn clone(&self) -> MetadataCache
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 MetadataCache
impl Debug for MetadataCache
Source§impl<'de> Deserialize<'de> for MetadataCache
impl<'de> Deserialize<'de> for MetadataCache
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
Auto Trait Implementations§
impl Freeze for MetadataCache
impl RefUnwindSafe for MetadataCache
impl Send for MetadataCache
impl Sync for MetadataCache
impl Unpin for MetadataCache
impl UnsafeUnpin for MetadataCache
impl UnwindSafe for MetadataCache
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