pub struct CreateDockerhubTarget {
pub comment: Option<String>,
pub description: Option<String>,
pub dockerhub_password: Option<String>,
pub dockerhub_username: Option<String>,
pub json: Option<bool>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
CreateDockerhubTarget : createDockerhubTarget is a command that creates a new target. [Deprecated: Use target-create-dockerhub command]
Fields§
§comment: Option<String>Deprecated - use description
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
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
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 CreateDockerhubTarget
impl CreateDockerhubTarget
Sourcepub fn new(name: String) -> CreateDockerhubTarget
pub fn new(name: String) -> CreateDockerhubTarget
createDockerhubTarget is a command that creates a new target. [Deprecated: Use target-create-dockerhub command]
Trait Implementations§
Source§impl Clone for CreateDockerhubTarget
impl Clone for CreateDockerhubTarget
Source§fn clone(&self) -> CreateDockerhubTarget
fn clone(&self) -> CreateDockerhubTarget
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 CreateDockerhubTarget
impl Debug for CreateDockerhubTarget
Source§impl Default for CreateDockerhubTarget
impl Default for CreateDockerhubTarget
Source§fn default() -> CreateDockerhubTarget
fn default() -> CreateDockerhubTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateDockerhubTarget
impl<'de> Deserialize<'de> for CreateDockerhubTarget
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 CreateDockerhubTarget
impl PartialEq for CreateDockerhubTarget
Source§fn eq(&self, other: &CreateDockerhubTarget) -> bool
fn eq(&self, other: &CreateDockerhubTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateDockerhubTarget
impl Serialize for CreateDockerhubTarget
impl StructuralPartialEq for CreateDockerhubTarget
Auto Trait Implementations§
impl Freeze for CreateDockerhubTarget
impl RefUnwindSafe for CreateDockerhubTarget
impl Send for CreateDockerhubTarget
impl Sync for CreateDockerhubTarget
impl Unpin for CreateDockerhubTarget
impl UnsafeUnpin for CreateDockerhubTarget
impl UnwindSafe for CreateDockerhubTarget
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