pub struct RegistryCredential {
pub id: Option<String>,
pub name: Option<String>,
pub registry: Option<RegistryCredentialRegistry>,
pub updated_at: Option<DateTime<Utc>>,
pub username: Option<String>,
}Expand description
RegistryCredential
JSON schema
{
"type": "object",
"properties": {
"id": {
"description": "Unique identifier for this credential",
"type": "string"
},
"name": {
"description": "Descriptive name for this credential",
"type": "string"
},
"registry": {
"$ref": "#/components/schemas/registryCredentialRegistry"
},
"updatedAt": {
"description": "Last updated time for the credential",
"type": "string",
"format": "date-time"
},
"username": {
"description": "The username associated with the credential",
"type": "string"
}
}
}Fields§
§id: Option<String>Unique identifier for this credential
name: Option<String>Descriptive name for this credential
registry: Option<RegistryCredentialRegistry>§updated_at: Option<DateTime<Utc>>Last updated time for the credential
username: Option<String>The username associated with the credential
Trait Implementations§
Source§impl Clone for RegistryCredential
impl Clone for RegistryCredential
Source§fn clone(&self) -> RegistryCredential
fn clone(&self) -> RegistryCredential
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegistryCredential
impl Debug for RegistryCredential
Source§impl Default for RegistryCredential
impl Default for RegistryCredential
Source§impl<'de> Deserialize<'de> for RegistryCredential
impl<'de> Deserialize<'de> for RegistryCredential
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 RegistryCredential
impl RefUnwindSafe for RegistryCredential
impl Send for RegistryCredential
impl Sync for RegistryCredential
impl Unpin for RegistryCredential
impl UnsafeUnpin for RegistryCredential
impl UnwindSafe for RegistryCredential
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