pub struct OciIndex { /* private fields */ }Expand description
OCI image index metadata.
Implementations§
Source§impl OciIndex
impl OciIndex
Sourcepub fn with_manifest(self, manifest: IndexManifest) -> Self
pub fn with_manifest(self, manifest: IndexManifest) -> Self
Adds a manifest reference.
Sourcepub fn with_annotation(self, annotation: Annotation) -> Self
pub fn with_annotation(self, annotation: Annotation) -> Self
Adds an annotation.
Sourcepub fn manifests(&self) -> &[IndexManifest]
pub fn manifests(&self) -> &[IndexManifest]
Returns manifest references.
Sourcepub fn annotations(&self) -> &[Annotation]
pub fn annotations(&self) -> &[Annotation]
Returns index annotations.
Trait Implementations§
impl Eq for OciIndex
impl StructuralPartialEq for OciIndex
Auto Trait Implementations§
impl Freeze for OciIndex
impl RefUnwindSafe for OciIndex
impl Send for OciIndex
impl Sync for OciIndex
impl Unpin for OciIndex
impl UnsafeUnpin for OciIndex
impl UnwindSafe for OciIndex
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