Struct nydus_api::config::BlobCacheEntryConfigV2
source · pub struct BlobCacheEntryConfigV2 {
pub version: u32,
pub id: String,
pub backend: BackendConfigV2,
pub cache: CacheConfigV2,
pub metadata_path: Option<String>,
}Expand description
Configuration information for a cached blob`.
Fields§
§version: u32Configuration file format version number, must be 2.
id: StringIdentifier for the instance.
backend: BackendConfigV2Configuration information for storage backend.
cache: CacheConfigV2Configuration information for local cache system.
metadata_path: Option<String>Optional file path for metadata blobs.
Trait Implementations§
source§impl Clone for BlobCacheEntryConfigV2
impl Clone for BlobCacheEntryConfigV2
source§fn clone(&self) -> BlobCacheEntryConfigV2
fn clone(&self) -> BlobCacheEntryConfigV2
Returns a copy of the value. Read more
1.0.0 · 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 BlobCacheEntryConfigV2
impl Debug for BlobCacheEntryConfigV2
source§impl Default for BlobCacheEntryConfigV2
impl Default for BlobCacheEntryConfigV2
source§fn default() -> BlobCacheEntryConfigV2
fn default() -> BlobCacheEntryConfigV2
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BlobCacheEntryConfigV2
impl<'de> Deserialize<'de> for BlobCacheEntryConfigV2
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 From<&BlobCacheEntryConfigV2> for ConfigV2
impl From<&BlobCacheEntryConfigV2> for ConfigV2
source§fn from(c: &BlobCacheEntryConfigV2) -> Self
fn from(c: &BlobCacheEntryConfigV2) -> Self
Converts to this type from the input type.
source§impl PartialEq<BlobCacheEntryConfigV2> for BlobCacheEntryConfigV2
impl PartialEq<BlobCacheEntryConfigV2> for BlobCacheEntryConfigV2
source§fn eq(&self, other: &BlobCacheEntryConfigV2) -> bool
fn eq(&self, other: &BlobCacheEntryConfigV2) -> bool
This method tests for
self and other values to be equal, and is used
by ==.