pub struct ImageSummaryCompat {
pub id: String,
pub parent_id: String,
pub repo_tags: Option<Vec<String>>,
pub repo_digests: Option<Vec<String>>,
pub created: i64,
pub size: i64,
pub shared_size: i64,
pub virtual_size: Option<i64>,
pub labels: Option<HashMap<String, String>>,
pub containers: i64,
}Expand description
Compatible ImageSummary that handles Docker API v1.44+ which removed VirtualSize. This struct mirrors docker_api::models::ImageSummary but makes virtual_size optional.
Fields§
§id: String§parent_id: String§repo_digests: Option<Vec<String>>§created: i64§size: i64§virtual_size: Option<i64>§labels: Option<HashMap<String, String>>§containers: i64Trait Implementations§
Source§impl Clone for ImageSummaryCompat
impl Clone for ImageSummaryCompat
Source§fn clone(&self) -> ImageSummaryCompat
fn clone(&self) -> ImageSummaryCompat
Returns a duplicate 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 ImageSummaryCompat
impl Debug for ImageSummaryCompat
Source§impl<'de> Deserialize<'de> for ImageSummaryCompat
impl<'de> Deserialize<'de> for ImageSummaryCompat
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 ImageSummaryCompat
impl RefUnwindSafe for ImageSummaryCompat
impl Send for ImageSummaryCompat
impl Sync for ImageSummaryCompat
impl Unpin for ImageSummaryCompat
impl UnwindSafe for ImageSummaryCompat
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