pub struct OciImage {
pub name: String,
pub version: String,
pub layers: Vec<OciLayer>,
pub config: Vec<u8>,
}Expand description
An in-memory OCI image ready to be pushed or saved.
Fields§
§name: String§version: String§layers: Vec<OciLayer>§config: Vec<u8>OCI image config JSON bytes (sha256 needed for manifest).
Implementations§
Auto Trait Implementations§
impl Freeze for OciImage
impl RefUnwindSafe for OciImage
impl Send for OciImage
impl Sync for OciImage
impl Unpin for OciImage
impl UnsafeUnpin for OciImage
impl UnwindSafe for OciImage
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