pub struct ManifestConfig {
pub media_type: String,
pub size: u64,
pub digest: String,
}Expand description
Manifest 配置
表示镜像配置的元数据,包含配置文件的媒体类型、大小和摘要。
Fields§
§media_type: String配置文件的媒体类型
size: u64配置文件的大小(字节)
digest: String配置文件的摘要
Trait Implementations§
Source§impl Clone for ManifestConfig
impl Clone for ManifestConfig
Source§fn clone(&self) -> ManifestConfig
fn clone(&self) -> ManifestConfig
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 ManifestConfig
impl Debug for ManifestConfig
Source§impl<'de> Deserialize<'de> for ManifestConfig
impl<'de> Deserialize<'de> for ManifestConfig
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 ManifestConfig
impl RefUnwindSafe for ManifestConfig
impl Send for ManifestConfig
impl Sync for ManifestConfig
impl Unpin for ManifestConfig
impl UnsafeUnpin for ManifestConfig
impl UnwindSafe for ManifestConfig
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