pub struct ImageRef {
pub registry: String,
pub repository: String,
pub reference: String,
}Expand description
A parsed image reference such as busybox, nginx:1.27 or
ghcr.io/org/app@sha256:..., with Docker’s defaults filled in.
Fields§
§registry: String§repository: String§reference: StringA tag, or a digest (sha256:...).
Implementations§
Trait Implementations§
impl Eq for ImageRef
impl StructuralPartialEq for ImageRef
Auto Trait Implementations§
impl Forget for ImageRef
impl Freeze for ImageRef
impl Move for ImageRef
impl RefUnwindSafe for ImageRef
impl Send for ImageRef
impl Sync for ImageRef
impl Unpin for ImageRef
impl UnsafeUnpin for ImageRef
impl UnwindSafe for ImageRef
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