pub struct ImportImageResponse {
pub id: String,
pub digest: Option<String>,
pub layers: Option<usize>,
pub tag: Option<String>,
}Expand description
Response body for the import-image endpoint.
Fields§
§id: StringContent-addressed image id of the imported image.
For the registry-backed import path this is the manifest digest
(sha256:...); for the runtime-backed (Docker-shim) path it is the
runtime’s reported image id.
digest: Option<String>Manifest digest of the imported image, when the registry-backed import
path was used. Mirrors id in that case; None for the runtime path.
layers: Option<usize>Number of layers in the imported image, when known (registry-backed path only).
tag: Option<String>Tag applied to the imported image, if any (registry-backed path only).
Trait Implementations§
Source§impl Clone for ImportImageResponse
impl Clone for ImportImageResponse
Source§fn clone(&self) -> ImportImageResponse
fn clone(&self) -> ImportImageResponse
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 ComposeSchema for ImportImageResponse
impl ComposeSchema for ImportImageResponse
Source§impl Debug for ImportImageResponse
impl Debug for ImportImageResponse
Source§impl Default for ImportImageResponse
impl Default for ImportImageResponse
Source§fn default() -> ImportImageResponse
fn default() -> ImportImageResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImportImageResponse
impl<'de> Deserialize<'de> for ImportImageResponse
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 Serialize for ImportImageResponse
impl Serialize for ImportImageResponse
Auto Trait Implementations§
impl Freeze for ImportImageResponse
impl RefUnwindSafe for ImportImageResponse
impl Send for ImportImageResponse
impl Sync for ImportImageResponse
impl Unpin for ImportImageResponse
impl UnsafeUnpin for ImportImageResponse
impl UnwindSafe for ImportImageResponse
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