pub struct TargetUpdateDockerhub {
pub description: Option<String>,
pub dockerhub_password: Option<String>,
pub dockerhub_username: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§description: Option<String>Description of the object
dockerhub_password: Option<String>Password for docker repository
dockerhub_username: Option<String>Username for docker repository
json: Option<bool>Set output format to JSON
keep_prev_version: Option<String>Whether to keep previous version [true/false]. If not set, use default according to account settings
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
new_name: Option<String>New target name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl TargetUpdateDockerhub
impl TargetUpdateDockerhub
pub fn new(name: String) -> TargetUpdateDockerhub
Trait Implementations§
Source§impl Clone for TargetUpdateDockerhub
impl Clone for TargetUpdateDockerhub
Source§fn clone(&self) -> TargetUpdateDockerhub
fn clone(&self) -> TargetUpdateDockerhub
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 TargetUpdateDockerhub
impl Debug for TargetUpdateDockerhub
Source§impl Default for TargetUpdateDockerhub
impl Default for TargetUpdateDockerhub
Source§fn default() -> TargetUpdateDockerhub
fn default() -> TargetUpdateDockerhub
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetUpdateDockerhub
impl<'de> Deserialize<'de> for TargetUpdateDockerhub
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 TargetUpdateDockerhub
impl PartialEq for TargetUpdateDockerhub
Source§fn eq(&self, other: &TargetUpdateDockerhub) -> bool
fn eq(&self, other: &TargetUpdateDockerhub) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetUpdateDockerhub
impl Serialize for TargetUpdateDockerhub
impl StructuralPartialEq for TargetUpdateDockerhub
Auto Trait Implementations§
impl Freeze for TargetUpdateDockerhub
impl RefUnwindSafe for TargetUpdateDockerhub
impl Send for TargetUpdateDockerhub
impl Sync for TargetUpdateDockerhub
impl Unpin for TargetUpdateDockerhub
impl UnsafeUnpin for TargetUpdateDockerhub
impl UnwindSafe for TargetUpdateDockerhub
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