pub struct LayerDescriptor {
pub digest: String,
pub size: u64,
pub media_type: String,
}Expand description
Describes a layer in an OCI image
Fields§
§digest: String§size: u64§media_type: StringTrait Implementations§
Source§impl Clone for LayerDescriptor
impl Clone for LayerDescriptor
Source§fn clone(&self) -> LayerDescriptor
fn clone(&self) -> LayerDescriptor
Returns a duplicate of the value. Read more
1.0.0 · 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 LayerDescriptor
impl Debug for LayerDescriptor
Source§impl<'de> Deserialize<'de> for LayerDescriptor
impl<'de> Deserialize<'de> for LayerDescriptor
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 LayerDescriptor
impl RefUnwindSafe for LayerDescriptor
impl Send for LayerDescriptor
impl Sync for LayerDescriptor
impl Unpin for LayerDescriptor
impl UnwindSafe for LayerDescriptor
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