pub struct RegistryCredentialResponse {
pub id: String,
pub registry: String,
pub username: String,
pub auth_type: RegistryAuthTypeSchema,
}Expand description
Registry credential metadata (returned by list/create; no password).
Fields§
§id: StringUnique identifier.
registry: StringRegistry hostname, e.g. "docker.io", "ghcr.io".
username: StringUsername for authentication.
auth_type: RegistryAuthTypeSchemaAuthentication method.
Trait Implementations§
Source§impl Clone for RegistryCredentialResponse
impl Clone for RegistryCredentialResponse
Source§fn clone(&self) -> RegistryCredentialResponse
fn clone(&self) -> RegistryCredentialResponse
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 ComposeSchema for RegistryCredentialResponse
impl ComposeSchema for RegistryCredentialResponse
Source§impl Debug for RegistryCredentialResponse
impl Debug for RegistryCredentialResponse
Source§impl<'de> Deserialize<'de> for RegistryCredentialResponse
impl<'de> Deserialize<'de> for RegistryCredentialResponse
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 RegistryCredentialResponse
impl RefUnwindSafe for RegistryCredentialResponse
impl Send for RegistryCredentialResponse
impl Sync for RegistryCredentialResponse
impl Unpin for RegistryCredentialResponse
impl UnsafeUnpin for RegistryCredentialResponse
impl UnwindSafe for RegistryCredentialResponse
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