pub struct CachedImage {
pub reference: String,
pub manifest_digest: String,
pub config_digest: String,
pub image_digest: String,
pub cached_at: String,
pub pull_complete: bool,
pub layers: usize,
pub bytes: ImageBytes,
pub objects: Objects,
pub disk_image_built: bool,
pub base_disk_built: bool,
}Expand description
One image in the store.
Fields§
§reference: StringThe reference the index holds it under — a tag, or a digest-pinned name.
manifest_digest: StringThe manifest digest, as the index spells it (sha256:…).
config_digest: StringThe config digest, as the index spells it.
image_digest: StringThe derived key its disk image and base rootfs are stored under
(image_digest).
cached_at: StringWhen the pull completed, as the index recorded it.
pull_complete: boolWhether the index considers the pull finished. A false here is a partial
pull, not a corrupt one, and security prefetch completes it.
layers: usizeHow many distinct layer digests it has. Below the manifest’s layer count when a layer is named twice.
bytes: ImageBytesIts byte accounting.
objects: ObjectsHow much of its pulled content is on disk.
disk_image_built: boolWhether a disk image has been built from it.
base_disk_built: boolWhether a guest rootfs base has been built from it.
Trait Implementations§
Source§impl Clone for CachedImage
impl Clone for CachedImage
Source§fn clone(&self) -> CachedImage
fn clone(&self) -> CachedImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CachedImage
impl Debug for CachedImage
Auto Trait Implementations§
impl Freeze for CachedImage
impl RefUnwindSafe for CachedImage
impl Send for CachedImage
impl Sync for CachedImage
impl Unpin for CachedImage
impl UnsafeUnpin for CachedImage
impl UnwindSafe for CachedImage
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