pub struct CreateArtifactoryTarget {
pub artifactory_admin_name: String,
pub artifactory_admin_pwd: String,
pub base_url: String,
pub comment: Option<String>,
pub description: 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
CreateArtifactoryTarget : createArtifactoryTarget is a command that creates a new target. [Deprecated: Use target-create-artifactory command]
Fields§
§artifactory_admin_name: StringArtifactory Admin Name
artifactory_admin_pwd: StringArtifactory Admin password
base_url: StringBase URL
comment: Option<String>Deprecated - use description
description: Option<String>Description of the object
json: Option<bool>Set output format to JSON
key: Option<String>The name of a key 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§
Trait Implementations§
Source§impl Clone for CreateArtifactoryTarget
impl Clone for CreateArtifactoryTarget
Source§fn clone(&self) -> CreateArtifactoryTarget
fn clone(&self) -> CreateArtifactoryTarget
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 CreateArtifactoryTarget
impl Debug for CreateArtifactoryTarget
Source§impl Default for CreateArtifactoryTarget
impl Default for CreateArtifactoryTarget
Source§fn default() -> CreateArtifactoryTarget
fn default() -> CreateArtifactoryTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateArtifactoryTarget
impl<'de> Deserialize<'de> for CreateArtifactoryTarget
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 CreateArtifactoryTarget
impl PartialEq for CreateArtifactoryTarget
Source§fn eq(&self, other: &CreateArtifactoryTarget) -> bool
fn eq(&self, other: &CreateArtifactoryTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateArtifactoryTarget
impl Serialize for CreateArtifactoryTarget
impl StructuralPartialEq for CreateArtifactoryTarget
Auto Trait Implementations§
impl Freeze for CreateArtifactoryTarget
impl RefUnwindSafe for CreateArtifactoryTarget
impl Send for CreateArtifactoryTarget
impl Sync for CreateArtifactoryTarget
impl Unpin for CreateArtifactoryTarget
impl UnsafeUnpin for CreateArtifactoryTarget
impl UnwindSafe for CreateArtifactoryTarget
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