pub struct Schema2ManifestDescriptor {
pub digest: Option<String>,
pub media_type: Option<String>,
pub platform: Option<Box<Schema2PlatformSpec>>,
pub size: Option<i64>,
pub urls: Option<Vec<String>>,
}
Expand description
Schema2ManifestDescriptor : This is publicly visible as c/image/manifest.Schema2ManifestDescriptor.
Fields§
§digest: Option<String>
The following is an example of the contents of Digest types: sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc This allows to abstract the digest behind this type and work only in those terms.
media_type: Option<String>
§platform: Option<Box<Schema2PlatformSpec>>
§size: Option<i64>
§urls: Option<Vec<String>>
Implementations§
Source§impl Schema2ManifestDescriptor
impl Schema2ManifestDescriptor
Sourcepub fn new() -> Schema2ManifestDescriptor
pub fn new() -> Schema2ManifestDescriptor
This is publicly visible as c/image/manifest.Schema2ManifestDescriptor.
Trait Implementations§
Source§impl Clone for Schema2ManifestDescriptor
impl Clone for Schema2ManifestDescriptor
Source§fn clone(&self) -> Schema2ManifestDescriptor
fn clone(&self) -> Schema2ManifestDescriptor
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 Schema2ManifestDescriptor
impl Debug for Schema2ManifestDescriptor
Source§impl Default for Schema2ManifestDescriptor
impl Default for Schema2ManifestDescriptor
Source§fn default() -> Schema2ManifestDescriptor
fn default() -> Schema2ManifestDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Schema2ManifestDescriptor
impl<'de> Deserialize<'de> for Schema2ManifestDescriptor
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
impl StructuralPartialEq for Schema2ManifestDescriptor
Auto Trait Implementations§
impl Freeze for Schema2ManifestDescriptor
impl RefUnwindSafe for Schema2ManifestDescriptor
impl Send for Schema2ManifestDescriptor
impl Sync for Schema2ManifestDescriptor
impl Unpin for Schema2ManifestDescriptor
impl UnwindSafe for Schema2ManifestDescriptor
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