pub struct PullOptions {
pub pull_policy: PullPolicy,
pub force: bool,
}Expand description
Options for Registry::pull().
Fields§
§pull_policy: PullPolicyControls when the registry is contacted.
force: boolRe-download blobs and re-materialize rootfs images even if cached.
Trait Implementations§
Source§impl Clone for PullOptions
impl Clone for PullOptions
Source§fn clone(&self) -> PullOptions
fn clone(&self) -> PullOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PullOptions
impl Debug for PullOptions
Source§impl Default for PullOptions
impl Default for PullOptions
Source§fn default() -> PullOptions
fn default() -> PullOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PullOptions
impl RefUnwindSafe for PullOptions
impl Send for PullOptions
impl Sync for PullOptions
impl Unpin for PullOptions
impl UnsafeUnpin for PullOptions
impl UnwindSafe for PullOptions
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