pub struct UpdateSshTargetDetails {Show 13 fields
pub host: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub name: String,
pub new_version: Option<bool>,
pub port: Option<String>,
pub private_key: Option<String>,
pub private_key_password: Option<String>,
pub protection_key: Option<String>,
pub ssh_password: Option<String>,
pub ssh_username: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§host: Option<String>The ssh host name
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
port: Option<String>ssh port
private_key: Option<String>ssh private key
private_key_password: Option<String>The ssh private key password
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)
ssh_password: Option<String>ssh pawssword to rotate
ssh_username: Option<String>ssh username
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 UpdateSshTargetDetails
impl UpdateSshTargetDetails
pub fn new(name: String) -> UpdateSshTargetDetails
Trait Implementations§
Source§impl Clone for UpdateSshTargetDetails
impl Clone for UpdateSshTargetDetails
Source§fn clone(&self) -> UpdateSshTargetDetails
fn clone(&self) -> UpdateSshTargetDetails
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 UpdateSshTargetDetails
impl Debug for UpdateSshTargetDetails
Source§impl Default for UpdateSshTargetDetails
impl Default for UpdateSshTargetDetails
Source§fn default() -> UpdateSshTargetDetails
fn default() -> UpdateSshTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSshTargetDetails
impl<'de> Deserialize<'de> for UpdateSshTargetDetails
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 UpdateSshTargetDetails
impl PartialEq for UpdateSshTargetDetails
Source§fn eq(&self, other: &UpdateSshTargetDetails) -> bool
fn eq(&self, other: &UpdateSshTargetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateSshTargetDetails
impl Serialize for UpdateSshTargetDetails
impl StructuralPartialEq for UpdateSshTargetDetails
Auto Trait Implementations§
impl Freeze for UpdateSshTargetDetails
impl RefUnwindSafe for UpdateSshTargetDetails
impl Send for UpdateSshTargetDetails
impl Sync for UpdateSshTargetDetails
impl Unpin for UpdateSshTargetDetails
impl UnsafeUnpin for UpdateSshTargetDetails
impl UnwindSafe for UpdateSshTargetDetails
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