pub struct RegistryUpdate {
pub name: Option<Option<String>>,
pub description: Option<Option<String>>,
pub url: Option<Option<String>>,
pub credential_type: Option<Option<String>>,
pub access_key: Option<Option<String>>,
pub access_secret: Option<Option<String>>,
pub insecure: Option<Option<bool>>,
}Fields§
§name: Option<Option<String>>The registry name.
description: Option<Option<String>>Description of the registry.
url: Option<Option<String>>The registry URL.
credential_type: Option<Option<String>>Credential type of the registry, e.g. ‘basic’.
access_key: Option<Option<String>>The registry access key.
access_secret: Option<Option<String>>The registry access secret.
insecure: Option<Option<bool>>Whether or not the certificate will be verified when Harbor tries to access the server.
Implementations§
Source§impl RegistryUpdate
impl RegistryUpdate
pub fn new() -> RegistryUpdate
Trait Implementations§
Source§impl Clone for RegistryUpdate
impl Clone for RegistryUpdate
Source§fn clone(&self) -> RegistryUpdate
fn clone(&self) -> RegistryUpdate
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 RegistryUpdate
impl Debug for RegistryUpdate
Source§impl Default for RegistryUpdate
impl Default for RegistryUpdate
Source§fn default() -> RegistryUpdate
fn default() -> RegistryUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryUpdate
impl<'de> Deserialize<'de> for RegistryUpdate
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 RegistryUpdate
impl PartialEq for RegistryUpdate
Source§impl Serialize for RegistryUpdate
impl Serialize for RegistryUpdate
impl StructuralPartialEq for RegistryUpdate
Auto Trait Implementations§
impl Freeze for RegistryUpdate
impl RefUnwindSafe for RegistryUpdate
impl Send for RegistryUpdate
impl Sync for RegistryUpdate
impl Unpin for RegistryUpdate
impl UnwindSafe for RegistryUpdate
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