#[non_exhaustive]pub struct Image {
pub labels: Option<Vec<String>>,
pub name: Option<String>,
pub path: Option<String>,
pub tag: Option<String>,
pub tags: Option<Vec<KeyValueObject>>,
pub uid: Option<String>,
}Expand description
Image
The Image object provides a description of a specific Virtual Machine (VM) or Container image.
[] Category: | Name: image
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.labels: Option<Vec<String>>Labels
The list of labels associated to the image.
optional
name: Option<String>Name
The image name. For example: elixir.
recommended
path: Option<String>Path
The full path to the image file.
optional
tag: Option<String>Image Tag
The image tag. For example: 1.11-alpine.
optional
Tags
The list of tags; {key:value} pairs associated to the image.
optional
uid: Option<String>Unique ID
The unique image ID. For example: 77af4d6b9913.
required
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