pub struct LayerEntry {
pub digest: String,
pub path: String,
pub size: u64,
}Expand description
An OCI layer entry.
Fields§
§digest: StringLayer digest (sha256:…).
path: StringPath within the assets archive.
size: u64Uncompressed size in bytes.
Trait Implementations§
Source§impl Clone for LayerEntry
impl Clone for LayerEntry
Source§fn clone(&self) -> LayerEntry
fn clone(&self) -> LayerEntry
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 Debug for LayerEntry
impl Debug for LayerEntry
Source§impl<'de> Deserialize<'de> for LayerEntry
impl<'de> Deserialize<'de> for LayerEntry
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
Auto Trait Implementations§
impl Freeze for LayerEntry
impl RefUnwindSafe for LayerEntry
impl Send for LayerEntry
impl Sync for LayerEntry
impl Unpin for LayerEntry
impl UnsafeUnpin for LayerEntry
impl UnwindSafe for LayerEntry
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