pub struct FetchOptions { /* 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 OciOptions
pub fn set_allow_insecure(&mut self, val: Vec<String>) -> &mut OciOptions
pub fn set_username(&mut self, val: Option<String>) -> &mut OciOptions
pub fn set_password(&mut self, val: Option<String>) -> &mut OciOptions
pub fn set_cache_dir(&mut self, val: PathBuf) -> &mut OciOptions
pub fn set_flatten(&mut self, val: bool) -> &mut OciOptions
pub fn set_on_existing(&mut self, val: OnExisting) -> &mut OciOptions
pub fn set_ignore_manifest(&mut self, val: bool) -> &mut OciOptions
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 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 OciOptions
impl Debug for OciOptions
Source§impl Default for OciOptions
impl Default for OciOptions
Source§fn default() -> OciOptions
fn default() -> OciOptions
Returns the “default value” for a type. Read more
Source§impl Serialize for OciOptions
impl Serialize for OciOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OciOptions
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