pub struct TargetCreateWeb {
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>,
pub url: Option<String>,
}Expand description
TargetCreateWeb : targetCreateWeb is a command that creates a new web target
Fields§
§description: Option<String>Description of the object
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
url: Option<String>The url
Implementations§
Source§impl TargetCreateWeb
impl TargetCreateWeb
Sourcepub fn new(name: String) -> TargetCreateWeb
pub fn new(name: String) -> TargetCreateWeb
targetCreateWeb is a command that creates a new web target
Trait Implementations§
Source§impl Clone for TargetCreateWeb
impl Clone for TargetCreateWeb
Source§fn clone(&self) -> TargetCreateWeb
fn clone(&self) -> TargetCreateWeb
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 TargetCreateWeb
impl Debug for TargetCreateWeb
Source§impl Default for TargetCreateWeb
impl Default for TargetCreateWeb
Source§fn default() -> TargetCreateWeb
fn default() -> TargetCreateWeb
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetCreateWeb
impl<'de> Deserialize<'de> for TargetCreateWeb
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 TargetCreateWeb
impl PartialEq for TargetCreateWeb
Source§fn eq(&self, other: &TargetCreateWeb) -> bool
fn eq(&self, other: &TargetCreateWeb) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetCreateWeb
impl Serialize for TargetCreateWeb
impl StructuralPartialEq for TargetCreateWeb
Auto Trait Implementations§
impl Freeze for TargetCreateWeb
impl RefUnwindSafe for TargetCreateWeb
impl Send for TargetCreateWeb
impl Sync for TargetCreateWeb
impl Unpin for TargetCreateWeb
impl UnsafeUnpin for TargetCreateWeb
impl UnwindSafe for TargetCreateWeb
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