pub struct PullOptions {
pub pull_policy: PullPolicy,
pub force: bool,
pub build_index: bool,
}Expand description
Options for Registry::pull().
Fields§
§pull_policy: PullPolicyControls when the registry is contacted.
force: boolRe-download and re-extract even if all layers are already cached.
build_index: boolGenerate binary sidecar indexes after extraction.
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 · 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
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