Enum docker_api::opts::ImageName
source · [−]pub enum ImageName {
Tag {
image: String,
tag: Option<String>,
},
Id(String),
Digest {
image: String,
digest: String,
},
}
Expand description
All forms that the image identifier can take.
Variants
Tag
<image>[:<tag>]
Id(String)
<image-id>
Digest
<image@digest>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageName
impl Send for ImageName
impl Sync for ImageName
impl Unpin for ImageName
impl UnwindSafe for ImageName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more