pub struct PushMetadata {
pub target_ref: Reference,
pub layers: Vec<LocalLayer>,
pub config: ConfigBlob,
pub manifest: OciImageManifest,
pub index: Option<IndexBlob>,
}Expand description
Encapsulates metadata needed to push a complete OCI image.
Fields§
§target_ref: ReferenceTarget registry reference
layers: Vec<LocalLayer>All layers to be pushed
config: ConfigBlobConfiguration descriptor
manifest: OciImageManifestImage manifest
index: Option<IndexBlob>Optional index for multi-platform images
Trait Implementations§
Source§impl Clone for PushMetadata
impl Clone for PushMetadata
Auto Trait Implementations§
impl Freeze for PushMetadata
impl RefUnwindSafe for PushMetadata
impl Send for PushMetadata
impl Sync for PushMetadata
impl Unpin for PushMetadata
impl UnsafeUnpin for PushMetadata
impl UnwindSafe for PushMetadata
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