pub struct RegistryPing {
pub id: Option<Option<i64>>,
pub type: 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§
§id: Option<Option<i64>>The registry ID.
type: Option<Option<String>>Type of the registry, e.g. ‘harbor’.
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 RegistryPing
impl RegistryPing
pub fn new() -> RegistryPing
Trait Implementations§
Source§impl Clone for RegistryPing
impl Clone for RegistryPing
Source§fn clone(&self) -> RegistryPing
fn clone(&self) -> RegistryPing
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 RegistryPing
impl Debug for RegistryPing
Source§impl Default for RegistryPing
impl Default for RegistryPing
Source§fn default() -> RegistryPing
fn default() -> RegistryPing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistryPing
impl<'de> Deserialize<'de> for RegistryPing
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 RegistryPing
impl PartialEq for RegistryPing
Source§impl Serialize for RegistryPing
impl Serialize for RegistryPing
impl StructuralPartialEq for RegistryPing
Auto Trait Implementations§
impl Freeze for RegistryPing
impl RefUnwindSafe for RegistryPing
impl Send for RegistryPing
impl Sync for RegistryPing
impl Unpin for RegistryPing
impl UnwindSafe for RegistryPing
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