pub struct PullImageResponse {
pub reference: ImageReference,
pub digest: Option<String>,
pub size_bytes: Option<u64>,
}Expand description
Response body for the pull-image handler. Reports the pulled reference
and, when the backend exposes it via list_images, the resolved digest
and on-disk size.
Fields§
§reference: ImageReferenceCanonical reference that was pulled.
digest: Option<String>Content-addressed digest (sha256:...) if the runtime reports one.
size_bytes: Option<u64>On-disk size in bytes if the runtime reports one.
Trait Implementations§
Source§impl Clone for PullImageResponse
impl Clone for PullImageResponse
Source§fn clone(&self) -> PullImageResponse
fn clone(&self) -> PullImageResponse
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 PullImageResponse
impl ComposeSchema for PullImageResponse
Source§impl Debug for PullImageResponse
impl Debug for PullImageResponse
Source§impl<'de> Deserialize<'de> for PullImageResponse
impl<'de> Deserialize<'de> for PullImageResponse
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 PullImageResponse
impl Serialize for PullImageResponse
Auto Trait Implementations§
impl Freeze for PullImageResponse
impl RefUnwindSafe for PullImageResponse
impl Send for PullImageResponse
impl Sync for PullImageResponse
impl Unpin for PullImageResponse
impl UnsafeUnpin for PullImageResponse
impl UnwindSafe for PullImageResponse
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