Struct moby::image::PullOptionsBuilder [−][src]
Implementations
impl PullOptionsBuilder
[src]
pub fn image<I>(&mut self, img: I) -> &mut Self where
I: Into<String>,
[src]
I: Into<String>,
Name of the image to pull. The name may include a tag or digest.
This parameter may only be used when pulling an image.
If an untagged value is provided and no tag
is provided, all
tags will be pulled
The pull is cancelled if the HTTP connection is closed.
pub fn src<S>(&mut self, s: S) -> &mut Self where
S: Into<String>,
[src]
S: Into<String>,
pub fn repo<R>(&mut self, r: R) -> &mut Self where
R: Into<String>,
[src]
R: Into<String>,
Repository name given to an image when it is imported. The repo may include a tag. This parameter may only be used when importing an image.
pub fn tag<T>(&mut self, t: T) -> &mut Self where
T: Into<String>,
[src]
T: Into<String>,
Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.
pub fn auth(&mut self, auth: RegistryAuth) -> &mut Self
[src]
pub fn build(&mut self) -> PullOptions
[src]
Trait Implementations
impl Default for PullOptionsBuilder
[src]
fn default() -> PullOptionsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for PullOptionsBuilder
impl Send for PullOptionsBuilder
impl Sync for PullOptionsBuilder
impl Unpin for PullOptionsBuilder
impl UnwindSafe for PullOptionsBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,