pub struct LayerSpec {
pub digest: String,
pub size: u64,
pub media_type: String,
pub blob_url: Option<String>,
}Expand description
Descriptor for a single OCI layer that needs to be available locally.
Fields§
§digest: String§size: u64§media_type: String§blob_url: Option<String>Source URL for pulling the layer blob when not already cached.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayerSpec
impl RefUnwindSafe for LayerSpec
impl Send for LayerSpec
impl Sync for LayerSpec
impl Unpin for LayerSpec
impl UnsafeUnpin for LayerSpec
impl UnwindSafe for LayerSpec
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