pub struct Image {
pub created: Option<DateTime<Utc>>,
pub author: Option<String>,
pub architecture: String,
pub variant: Option<String>,
pub os: String,
pub os_version: Option<String>,
pub os_features: Option<Vec<String>>,
pub rootfs: RootFS,
pub history: Option<Vec<History>>,
}Expand description
Image is the JSON structure which describes some basic information about the image.
This provides the application/vnd.oci.image.config.v1+json mediatype when marshalled to JSON.
Fields§
§created: Option<DateTime<Utc>>§architecture: String§variant: Option<String>§os: String§os_version: Option<String>§os_features: Option<Vec<String>>§rootfs: RootFSRootFS references the layer content addresses used by the image.
history: Option<Vec<History>>History describes the history of each layer.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
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 Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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