pub struct UpdateDbTargetDetails {Show 14 fields
pub db_type: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub mongo_db_name: Option<String>,
pub mongo_uri: Option<String>,
pub name: String,
pub new_version: Option<bool>,
pub port: Option<String>,
pub protection_key: Option<String>,
pub pwd: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub user_name: Option<String>,
}Fields§
§db_type: Option<String>§host: Option<String>§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
mongo_db_name: Option<String>§mongo_uri: Option<String>§name: StringTarget name
new_version: Option<bool>Deprecated
port: Option<String>§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)
pwd: Option<String>§token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
user_name: Option<String>Implementations§
Source§impl UpdateDbTargetDetails
impl UpdateDbTargetDetails
pub fn new(name: String) -> UpdateDbTargetDetails
Trait Implementations§
Source§impl Clone for UpdateDbTargetDetails
impl Clone for UpdateDbTargetDetails
Source§fn clone(&self) -> UpdateDbTargetDetails
fn clone(&self) -> UpdateDbTargetDetails
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 UpdateDbTargetDetails
impl Debug for UpdateDbTargetDetails
Source§impl Default for UpdateDbTargetDetails
impl Default for UpdateDbTargetDetails
Source§fn default() -> UpdateDbTargetDetails
fn default() -> UpdateDbTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateDbTargetDetails
impl<'de> Deserialize<'de> for UpdateDbTargetDetails
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 UpdateDbTargetDetails
impl PartialEq for UpdateDbTargetDetails
Source§fn eq(&self, other: &UpdateDbTargetDetails) -> bool
fn eq(&self, other: &UpdateDbTargetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateDbTargetDetails
impl Serialize for UpdateDbTargetDetails
impl StructuralPartialEq for UpdateDbTargetDetails
Auto Trait Implementations§
impl Freeze for UpdateDbTargetDetails
impl RefUnwindSafe for UpdateDbTargetDetails
impl Send for UpdateDbTargetDetails
impl Sync for UpdateDbTargetDetails
impl Unpin for UpdateDbTargetDetails
impl UnsafeUnpin for UpdateDbTargetDetails
impl UnwindSafe for UpdateDbTargetDetails
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