pub struct RegistryConfigExtended {
pub index: Option<String>,
pub token: OptValue<Secret<String>>,
pub credential_provider: Option<PathAndArgs>,
pub secret_key: OptValue<Secret<String>>,
pub secret_key_subject: Option<String>,
_default: Option<String>,
_global_credential_providers: Option<Vec<String>>,
}
Expand description
The [registry]
table, which more keys than the [registries.NAME]
tables.
Note: nesting RegistryConfig
inside this struct and using serde(flatten)
should work
but fails with “invalid type: sequence, expected a value” when attempting to deserialize.
Fields§
§index: Option<String>
§token: OptValue<Secret<String>>
§credential_provider: Option<PathAndArgs>
§secret_key: OptValue<Secret<String>>
§secret_key_subject: Option<String>
§_default: Option<String>
§_global_credential_providers: Option<Vec<String>>
Implementations§
source§impl RegistryConfigExtended
impl RegistryConfigExtended
pub fn to_registry_config(self) -> RegistryConfig
Trait Implementations§
source§impl<'de> Deserialize<'de> for RegistryConfigExtended
impl<'de> Deserialize<'de> for RegistryConfigExtended
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 RegistryConfigExtended
impl RefUnwindSafe for RegistryConfigExtended
impl Send for RegistryConfigExtended
impl Sync for RegistryConfigExtended
impl Unpin for RegistryConfigExtended
impl UnwindSafe for RegistryConfigExtended
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 288 bytes