Struct ostree_ext::container::ManifestDiff
source · pub struct ManifestDiff<'a> {
pub from: &'a ImageManifest,
pub to: &'a ImageManifest,
pub removed: Vec<&'a Descriptor>,
pub added: Vec<&'a Descriptor>,
}Expand description
Represents the difference in layer/blob content between two OCI image manifests.
Fields§
§from: &'a ImageManifestThe source container image manifest.
to: &'a ImageManifestThe target container image manifest.
removed: Vec<&'a Descriptor>Layers which are present in the old image but not the new image.
added: Vec<&'a Descriptor>Layers which are present in the new image but not the old image.
Implementations§
source§impl<'a> ManifestDiff<'a>
impl<'a> ManifestDiff<'a>
source§impl<'a> ManifestDiff<'a>
impl<'a> ManifestDiff<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ManifestDiff<'a>
impl<'a> Send for ManifestDiff<'a>
impl<'a> Sync for ManifestDiff<'a>
impl<'a> Unpin for ManifestDiff<'a>
impl<'a> UnwindSafe for ManifestDiff<'a>
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