Struct bollard::image::TagImageOptions
source · pub struct TagImageOptions<T>{
pub repo: T,
pub tag: T,
}
Expand description
Parameters to the Tag Image API
§Examples
use bollard::image::TagImageOptions;
use std::default::Default;
let tag_options = TagImageOptions {
tag: "v1.0.1",
..Default::default()
};
let tag_options = TagImageOptions::<String> {
..Default::default()
};
Fields§
§repo: T
The repository to tag in. For example, someuser/someimage
.
tag: T
The name of the new tag.
Trait Implementations§
source§impl<T> Clone for TagImageOptions<T>
impl<T> Clone for TagImageOptions<T>
source§fn clone(&self) -> TagImageOptions<T>
fn clone(&self) -> TagImageOptions<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> Debug for TagImageOptions<T>
impl<T> Debug for TagImageOptions<T>
source§impl<T> Default for TagImageOptions<T>
impl<T> Default for TagImageOptions<T>
source§fn default() -> TagImageOptions<T>
fn default() -> TagImageOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for TagImageOptions<T>
impl<T> PartialEq for TagImageOptions<T>
source§impl<T> Serialize for TagImageOptions<T>
impl<T> Serialize for TagImageOptions<T>
impl<T> StructuralPartialEq for TagImageOptions<T>
Auto Trait Implementations§
impl<T> Freeze for TagImageOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for TagImageOptions<T>where
T: RefUnwindSafe,
impl<T> Send for TagImageOptions<T>where
T: Send,
impl<T> Sync for TagImageOptions<T>where
T: Sync,
impl<T> Unpin for TagImageOptions<T>where
T: Unpin,
impl<T> UnwindSafe for TagImageOptions<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)