pub struct ImageData {Show 23 fields
pub annotations: Option<HashMap<String, String>>,
pub architecture: Option<String>,
pub author: Option<String>,
pub comment: Option<String>,
pub config: Option<Box<ImageConfig>>,
pub created: Option<String>,
pub digest: Option<String>,
pub graph_driver: Option<Box<DriverData>>,
pub healthcheck: Option<Box<Schema2HealthConfig>>,
pub history: Option<Vec<History>>,
pub id: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub manifest_type: Option<String>,
pub names_history: Option<Vec<String>>,
pub os: Option<String>,
pub parent: Option<String>,
pub repo_digests: Option<Vec<String>>,
pub repo_tags: Option<Vec<String>>,
pub root_fs: Option<Box<RootFs>>,
pub size: Option<i64>,
pub user: Option<String>,
pub version: Option<String>,
pub virtual_size: Option<i64>,
}
Fields§
§annotations: Option<HashMap<String, String>>
§architecture: Option<String>
§comment: Option<String>
§config: Option<Box<ImageConfig>>
§created: Option<String>
§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.
graph_driver: Option<Box<DriverData>>
§healthcheck: Option<Box<Schema2HealthConfig>>
§history: Option<Vec<History>>
§id: Option<String>
§labels: Option<HashMap<String, String>>
§manifest_type: Option<String>
§names_history: Option<Vec<String>>
§os: Option<String>
§parent: Option<String>
§repo_digests: Option<Vec<String>>
§root_fs: Option<Box<RootFs>>
§size: Option<i64>
§user: Option<String>
§version: Option<String>
§virtual_size: Option<i64>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImageData
impl<'de> Deserialize<'de> for ImageData
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 ImageData
Auto Trait Implementations§
impl Freeze for ImageData
impl RefUnwindSafe for ImageData
impl Send for ImageData
impl Sync for ImageData
impl Unpin for ImageData
impl UnwindSafe for ImageData
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