pub struct Annotations {
pub created: Option<DateTime>,
pub authors: Option<Text>,
pub url: Option<Url>,
pub description: Option<Text>,
pub documentation: Option<Url>,
pub version: Option<Version>,
pub licenses: Option<SpdxLicenseExpression>,
pub source: Option<Url>,
pub vendor: Option<Text>,
pub title: Option<Text>,
}Expand description
metadata for an image based on oci image spec annotations
Fields§
§created: Option<DateTime>the date and time on which the image was built (date-time string as defined by RFC 3339).
contact details of the people or organization responsible for the image (freeform string)
url: Option<Url>URL to find more information on the image
description: Option<Text>Human-readable description of the software packaged in the image
documentation: Option<Url>URL to get documentation on the image
version: Option<Version>version of the packaged software MAY match a label or tag in the source code repository MAY be Semantic versioning-compatible
licenses: Option<SpdxLicenseExpression>License(s) under which contained software is distributed as an SPDX License Expression.
source: Option<Url>URL to get source code for building the image
vendor: Option<Text>Name of the distributing entity, organization or individual.
title: Option<Text>Human-readable title of the image
Trait Implementations§
Source§impl Debug for Annotations
impl Debug for Annotations
Source§impl<'de> Deserialize<'de> for Annotations
impl<'de> Deserialize<'de> for Annotations
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 Annotations
impl RefUnwindSafe for Annotations
impl Send for Annotations
impl Sync for Annotations
impl Unpin for Annotations
impl UnwindSafe for Annotations
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