pub struct RegistryAuthConfig {
pub registry: String,
pub source: AuthSource,
}Expand description
Per-registry authentication configuration
Fields§
§registry: StringRegistry hostname (e.g., “docker.io”, “ghcr.io”)
source: AuthSourceAuthentication source for this registry
Trait Implementations§
Source§impl Clone for RegistryAuthConfig
impl Clone for RegistryAuthConfig
Source§fn clone(&self) -> RegistryAuthConfig
fn clone(&self) -> RegistryAuthConfig
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 RegistryAuthConfig
impl Debug for RegistryAuthConfig
Source§impl<'de> Deserialize<'de> for RegistryAuthConfig
impl<'de> Deserialize<'de> for RegistryAuthConfig
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
Source§impl PartialEq for RegistryAuthConfig
impl PartialEq for RegistryAuthConfig
Source§impl Serialize for RegistryAuthConfig
impl Serialize for RegistryAuthConfig
impl StructuralPartialEq for RegistryAuthConfig
Auto Trait Implementations§
impl Freeze for RegistryAuthConfig
impl RefUnwindSafe for RegistryAuthConfig
impl Send for RegistryAuthConfig
impl Sync for RegistryAuthConfig
impl Unpin for RegistryAuthConfig
impl UnsafeUnpin for RegistryAuthConfig
impl UnwindSafe for RegistryAuthConfig
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