Struct wick_config::config::RegistryConfig
source · pub struct RegistryConfig { /* private fields */ }Expand description
Configuration for publishing the package to a registry.
Implementations§
source§impl RegistryConfig
impl RegistryConfig
pub fn host(&self) -> &str
pub fn set_host<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn host_mut(&mut self) -> &mut String
pub fn namespace(&self) -> &str
pub fn set_namespace<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn namespace_mut(&mut self) -> &mut String
Trait Implementations§
source§impl Clone for RegistryConfig
impl Clone for RegistryConfig
source§fn clone(&self) -> RegistryConfig
fn clone(&self) -> RegistryConfig
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 RegistryConfig
impl Debug for RegistryConfig
source§impl Default for RegistryConfig
impl Default for RegistryConfig
source§fn default() -> RegistryConfig
fn default() -> RegistryConfig
Returns the “default value” for a type. Read more
source§impl PartialEq<RegistryConfig> for RegistryConfig
impl PartialEq<RegistryConfig> for RegistryConfig
source§fn eq(&self, other: &RegistryConfig) -> bool
fn eq(&self, other: &RegistryConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RegistryConfig
impl Serialize for RegistryConfig
source§impl TryFrom<RegistryConfig> for RegistryDefinition
impl TryFrom<RegistryConfig> for RegistryDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<RegistryDefinition> for RegistryConfig
impl TryFrom<RegistryDefinition> for RegistryConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for RegistryConfig
Auto Trait Implementations§
impl RefUnwindSafe for RegistryConfig
impl Send for RegistryConfig
impl Sync for RegistryConfig
impl Unpin for RegistryConfig
impl UnwindSafe for RegistryConfig
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