pub struct BlobReference { /* private fields */ }Expand description
A blob reference by digest.
Implementations§
Source§impl BlobReference
impl BlobReference
Sourcepub const fn new(repository: RepositoryName, digest: OciDigest) -> Self
pub const fn new(repository: RepositoryName, digest: OciDigest) -> Self
Creates a blob reference.
Sourcepub const fn repository(&self) -> &RepositoryName
pub const fn repository(&self) -> &RepositoryName
Returns the repository.
Trait Implementations§
Source§impl Clone for BlobReference
impl Clone for BlobReference
Source§fn clone(&self) -> BlobReference
fn clone(&self) -> BlobReference
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 BlobReference
impl Debug for BlobReference
Source§impl Hash for BlobReference
impl Hash for BlobReference
Source§impl Ord for BlobReference
impl Ord for BlobReference
Source§fn cmp(&self, other: &BlobReference) -> Ordering
fn cmp(&self, other: &BlobReference) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BlobReference
impl PartialEq for BlobReference
Source§fn eq(&self, other: &BlobReference) -> bool
fn eq(&self, other: &BlobReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BlobReference
impl PartialOrd for BlobReference
impl Eq for BlobReference
impl StructuralPartialEq for BlobReference
Auto Trait Implementations§
impl Freeze for BlobReference
impl RefUnwindSafe for BlobReference
impl Send for BlobReference
impl Sync for BlobReference
impl Unpin for BlobReference
impl UnsafeUnpin for BlobReference
impl UnwindSafe for BlobReference
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