pub struct UpdateWebTargetDetails {
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub name: String,
pub new_version: Option<bool>,
pub protection_key: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub url: Option<String>,
}Fields§
§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
name: StringTarget name
new_version: Option<bool>Deprecated
protection_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)
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>Implementations§
Source§impl UpdateWebTargetDetails
impl UpdateWebTargetDetails
pub fn new(name: String) -> UpdateWebTargetDetails
Trait Implementations§
Source§impl Clone for UpdateWebTargetDetails
impl Clone for UpdateWebTargetDetails
Source§fn clone(&self) -> UpdateWebTargetDetails
fn clone(&self) -> UpdateWebTargetDetails
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 UpdateWebTargetDetails
impl Debug for UpdateWebTargetDetails
Source§impl Default for UpdateWebTargetDetails
impl Default for UpdateWebTargetDetails
Source§fn default() -> UpdateWebTargetDetails
fn default() -> UpdateWebTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateWebTargetDetails
impl<'de> Deserialize<'de> for UpdateWebTargetDetails
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 UpdateWebTargetDetails
impl PartialEq for UpdateWebTargetDetails
Source§fn eq(&self, other: &UpdateWebTargetDetails) -> bool
fn eq(&self, other: &UpdateWebTargetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateWebTargetDetails
impl Serialize for UpdateWebTargetDetails
impl StructuralPartialEq for UpdateWebTargetDetails
Auto Trait Implementations§
impl Freeze for UpdateWebTargetDetails
impl RefUnwindSafe for UpdateWebTargetDetails
impl Send for UpdateWebTargetDetails
impl Sync for UpdateWebTargetDetails
impl Unpin for UpdateWebTargetDetails
impl UnsafeUnpin for UpdateWebTargetDetails
impl UnwindSafe for UpdateWebTargetDetails
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