Struct bollard::image::PushImageOptions
source · Expand description
Parameters to the Push Image API
Examples
use bollard::image::PushImageOptions;
PushImageOptions {
tag: "v1.0.1",
};
PushImageOptions::<String> {
..Default::default()
};
Fields§
§tag: T
The tag to associate with the image on the registry.
Trait Implementations§
source§impl<T> Clone for PushImageOptions<T>where
T: Into<String> + Serialize + Clone,
impl<T> Clone for PushImageOptions<T>where
T: Into<String> + Serialize + Clone,
source§fn clone(&self) -> PushImageOptions<T>
fn clone(&self) -> PushImageOptions<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> Default for PushImageOptions<T>where
T: Into<String> + Serialize + Default,
impl<T> Default for PushImageOptions<T>where
T: Into<String> + Serialize + Default,
source§fn default() -> PushImageOptions<T>
fn default() -> PushImageOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq<PushImageOptions<T>> for PushImageOptions<T>where
T: Into<String> + Serialize + PartialEq,
impl<T> PartialEq<PushImageOptions<T>> for PushImageOptions<T>where
T: Into<String> + Serialize + PartialEq,
source§fn eq(&self, other: &PushImageOptions<T>) -> bool
fn eq(&self, other: &PushImageOptions<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.