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 blob.
Implementations§
Trait Implementations§
Source§impl Clone for BlobCacheEntryConfigV2
impl Clone for BlobCacheEntryConfigV2
Source§fn clone(&self) -> BlobCacheEntryConfigV2
fn clone(&self) -> BlobCacheEntryConfigV2
Returns a duplicate 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 FromStr for BlobCacheEntryConfigV2
impl FromStr for BlobCacheEntryConfigV2
Source§impl PartialEq for BlobCacheEntryConfigV2
impl PartialEq for BlobCacheEntryConfigV2
Source§impl Serialize for BlobCacheEntryConfigV2
impl Serialize for BlobCacheEntryConfigV2
impl Eq for BlobCacheEntryConfigV2
impl StructuralPartialEq for BlobCacheEntryConfigV2
Auto Trait Implementations§
impl Freeze for BlobCacheEntryConfigV2
impl RefUnwindSafe for BlobCacheEntryConfigV2
impl Send for BlobCacheEntryConfigV2
impl Sync for BlobCacheEntryConfigV2
impl Unpin for BlobCacheEntryConfigV2
impl UnwindSafe for BlobCacheEntryConfigV2
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