pub struct ImageSpecification {
pub created: Option<DateTime<Utc>>,
pub author: Option<String>,
pub architecture: Architecture,
pub os: OperatingSystem,
pub config: Option<ImageConfig>,
pub rootfs: Option<ImageRootfs>,
pub history: Option<Vec<LayerHistoryItem>>,
}
Fields§
§created: Option<DateTime<Utc>>
An combined date and time at which the image was created.
Gives the name and/or email address of the person or entity which created and is responsible for maintaining the image.
architecture: Architecture
The CPU architecture which the binaries in this image are built to run on.
os: OperatingSystem
The name of the operating system which the image is built to run on.
config: Option<ImageConfig>
The execution parameters which should be used as a base when running a container using the image.
This field can be None
, in which case any execution parameters should be specified at creation of the container.
rootfs: Option<ImageRootfs>
The rootfs key references the layer content addresses used by the image.
history: Option<Vec<LayerHistoryItem>>
Describes the history of each layer.
Trait Implementations§
Source§impl Clone for ImageSpecification
impl Clone for ImageSpecification
Source§fn clone(&self) -> ImageSpecification
fn clone(&self) -> ImageSpecification
Returns a copy 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 ImageSpecification
impl Debug for ImageSpecification
Source§impl<'de> Deserialize<'de> for ImageSpecification
impl<'de> Deserialize<'de> for ImageSpecification
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 PartialEq for ImageSpecification
impl PartialEq for ImageSpecification
Source§impl Serialize for ImageSpecification
impl Serialize for ImageSpecification
impl StructuralPartialEq for ImageSpecification
Auto Trait Implementations§
impl Freeze for ImageSpecification
impl RefUnwindSafe for ImageSpecification
impl Send for ImageSpecification
impl Sync for ImageSpecification
impl Unpin for ImageSpecification
impl UnwindSafe for ImageSpecification
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request