pub struct CustomConfig {
pub registry: Registry,
pub metadata: RegistryMetadata,
}Expand description
Custom registry configuration
Fields§
§registry: RegistryA valid name for the registry. This still must be a valid Registry in that it should
look like a valid hostname. When doing custom configuration however, this is just used as a
key to identify the configuration for this namespace
metadata: RegistryMetadataThe metadata for the registry. This is used to determine the protocol to use for the registry as well as mapping information for the registry.
Trait Implementations§
Source§impl Clone for CustomConfig
impl Clone for CustomConfig
Source§fn clone(&self) -> CustomConfig
fn clone(&self) -> CustomConfig
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 CustomConfig
impl Debug for CustomConfig
Source§impl<'de> Deserialize<'de> for CustomConfig
impl<'de> Deserialize<'de> for CustomConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl !Freeze for CustomConfig
impl RefUnwindSafe for CustomConfig
impl Send for CustomConfig
impl Sync for CustomConfig
impl Unpin for CustomConfig
impl UnwindSafe for CustomConfig
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