Struct nydus_api::http::BlobCacheEntry
source · pub struct BlobCacheEntry {
pub blob_type: String,
pub blob_id: String,
pub blob_config: Option<BlobCacheEntryConfigV2>,
pub domain_id: String,
/* private fields */
}Expand description
Configuration information for a cached blob.
Fields§
§blob_type: StringType of blob object, bootstrap or data blob.
blob_id: StringBlob id.
blob_config: Option<BlobCacheEntryConfigV2>Configuration information to generate blob cache object.
domain_id: StringDomain id for the blob, which is used to group cached blobs into management domains.
Implementations§
source§impl BlobCacheEntry
impl BlobCacheEntry
pub fn prepare_configuration_info(&mut self) -> bool
Trait Implementations§
source§impl Debug for BlobCacheEntry
impl Debug for BlobCacheEntry
source§impl<'de> Deserialize<'de> for BlobCacheEntry
impl<'de> Deserialize<'de> for BlobCacheEntry
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