Struct wick_oci_utils::OciOptions
source · pub struct OciOptions { /* private fields */ }Implementations§
source§impl OciOptions
impl OciOptions
pub fn allow_latest(&self) -> &bool
pub fn allow_insecure(&self) -> &Vec<String>
pub fn username(&self) -> &Option<String>
pub fn password(&self) -> &Option<String>
pub fn cache_dir(&self) -> &PathBuf
pub fn flatten(&self) -> &bool
pub fn on_existing(&self) -> &OnExisting
pub fn ignore_manifest(&self) -> &bool
source§impl OciOptions
impl OciOptions
pub fn set_allow_latest(&mut self, val: bool) -> &mut Self
pub fn set_allow_insecure(&mut self, val: Vec<String>) -> &mut Self
pub fn set_username(&mut self, val: Option<String>) -> &mut Self
pub fn set_password(&mut self, val: Option<String>) -> &mut Self
pub fn set_cache_dir(&mut self, val: PathBuf) -> &mut Self
pub fn set_flatten(&mut self, val: bool) -> &mut Self
pub fn set_on_existing(&mut self, val: OnExisting) -> &mut Self
pub fn set_ignore_manifest(&mut self, val: bool) -> &mut Self
source§impl OciOptions
impl OciOptions
pub fn get_auth(&self) -> RegistryAuth
Trait Implementations§
source§impl Clone for OciOptions
impl Clone for OciOptions
source§fn clone(&self) -> OciOptions
fn clone(&self) -> OciOptions
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 Debug for OciOptions
impl Debug for OciOptions
source§impl Default for OciOptions
impl Default for OciOptions
Auto Trait Implementations§
impl RefUnwindSafe for OciOptions
impl Send for OciOptions
impl Sync for OciOptions
impl Unpin for OciOptions
impl UnwindSafe for OciOptions
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