pub struct ConfigPathOptions {
pub home_dir: Option<PathBuf>,
pub registry_url_hint: Option<String>,
}Fields§
§home_dir: Option<PathBuf>§registry_url_hint: Option<String>Implementations§
Source§impl ConfigPathOptions
impl ConfigPathOptions
Sourcepub fn with_registry_hint(&self, registry_url_hint: impl Into<String>) -> Self
pub fn with_registry_hint(&self, registry_url_hint: impl Into<String>) -> Self
TODO(clawdentity): document with_registry_hint.
Trait Implementations§
Source§impl Clone for ConfigPathOptions
impl Clone for ConfigPathOptions
Source§fn clone(&self) -> ConfigPathOptions
fn clone(&self) -> ConfigPathOptions
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 ConfigPathOptions
impl Debug for ConfigPathOptions
Source§impl Default for ConfigPathOptions
impl Default for ConfigPathOptions
Source§fn default() -> ConfigPathOptions
fn default() -> ConfigPathOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigPathOptions
impl RefUnwindSafe for ConfigPathOptions
impl Send for ConfigPathOptions
impl Sync for ConfigPathOptions
impl Unpin for ConfigPathOptions
impl UnsafeUnpin for ConfigPathOptions
impl UnwindSafe for ConfigPathOptions
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