pub struct Registry {
pub id: Option<i64>,
pub url: Option<String>,
pub name: Option<String>,
pub credential: Option<Box<RegistryCredential>>,
pub type: Option<String>,
pub insecure: Option<bool>,
pub description: Option<String>,
pub status: Option<String>,
pub creation_time: Option<String>,
pub update_time: Option<String>,
}Fields§
§id: Option<i64>The registry ID.
url: Option<String>The registry URL string.
name: Option<String>The registry name.
credential: Option<Box<RegistryCredential>>§type: Option<String>Type of the registry, e.g. ‘harbor’.
insecure: Option<bool>Whether or not the certificate will be verified when Harbor tries to access the server.
description: Option<String>Description of the registry.
status: Option<String>Health status of the registry.
creation_time: Option<String>The create time of the policy.
update_time: Option<String>The update time of the policy.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Registry
impl<'de> Deserialize<'de> for Registry
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
impl StructuralPartialEq for Registry
Auto Trait Implementations§
impl Freeze for Registry
impl RefUnwindSafe for Registry
impl Send for Registry
impl Sync for Registry
impl Unpin for Registry
impl UnwindSafe for Registry
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