pub struct ImageBlobReferences {
pub config: Option<String>,
pub image_missing: Option<bool>,
pub layers: Option<Vec<String>>,
}
Expand description
ImageBlobReferences describes the blob references within an image.
Fields§
§config: Option<String>
config, if set, is the blob that contains the image config. Some images do not have separate config blobs and this field will be set to nil if so.
image_missing: Option<bool>
imageMissing is true if the image is referenced by the image stream but the image object has been deleted from the API by an administrator. When this field is set, layers and config fields may be empty and callers that depend on the image metadata should consider the image to be unavailable for download or viewing.
layers: Option<Vec<String>>
layers is the list of blobs that compose this image, from base layer to top layer. All layers referenced by this array will be defined in the blobs map. Some images may have zero layers.
Trait Implementations§
Source§impl Clone for ImageBlobReferences
impl Clone for ImageBlobReferences
Source§fn clone(&self) -> ImageBlobReferences
fn clone(&self) -> ImageBlobReferences
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 ImageBlobReferences
impl Debug for ImageBlobReferences
Source§impl Default for ImageBlobReferences
impl Default for ImageBlobReferences
Source§fn default() -> ImageBlobReferences
fn default() -> ImageBlobReferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageBlobReferences
impl<'de> Deserialize<'de> for ImageBlobReferences
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 ImageBlobReferences
impl PartialEq for ImageBlobReferences
Source§impl Serialize for ImageBlobReferences
impl Serialize for ImageBlobReferences
impl StructuralPartialEq for ImageBlobReferences
Auto Trait Implementations§
impl Freeze for ImageBlobReferences
impl RefUnwindSafe for ImageBlobReferences
impl Send for ImageBlobReferences
impl Sync for ImageBlobReferences
impl Unpin for ImageBlobReferences
impl UnwindSafe for ImageBlobReferences
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