pub struct ImageLayout {
pub version: String,
}Expand description
ImageLayout is the structure in the “oci-layout” file, found in the root of an OCI Image-layout directory.
Fields§
§version: StringTrait Implementations§
Source§impl Clone for ImageLayout
impl Clone for ImageLayout
Source§fn clone(&self) -> ImageLayout
fn clone(&self) -> ImageLayout
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 ImageLayout
impl Debug for ImageLayout
Source§impl Default for ImageLayout
impl Default for ImageLayout
Source§fn default() -> ImageLayout
fn default() -> ImageLayout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageLayout
impl<'de> Deserialize<'de> for ImageLayout
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
Source§impl PartialEq for ImageLayout
impl PartialEq for ImageLayout
Source§impl Serialize for ImageLayout
impl Serialize for ImageLayout
impl StructuralPartialEq for ImageLayout
Auto Trait Implementations§
impl Freeze for ImageLayout
impl RefUnwindSafe for ImageLayout
impl Send for ImageLayout
impl Sync for ImageLayout
impl Unpin for ImageLayout
impl UnwindSafe for ImageLayout
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