pub struct TargetUpdateRabbitMq {
pub description: Option<String>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub key: Option<String>,
pub max_versions: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub rabbitmq_server_password: Option<String>,
pub rabbitmq_server_uri: Option<String>,
pub rabbitmq_server_user: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
TargetUpdateRabbitMq : targetUpdateRabbitMq is a command that updates an existing rabbitmq target
Fields§
§description: Option<String>Description of the object
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
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
new_name: Option<String>New target name
rabbitmq_server_password: Option<String>§rabbitmq_server_uri: Option<String>§rabbitmq_server_user: 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
Implementations§
Source§impl TargetUpdateRabbitMq
impl TargetUpdateRabbitMq
Sourcepub fn new(name: String) -> TargetUpdateRabbitMq
pub fn new(name: String) -> TargetUpdateRabbitMq
targetUpdateRabbitMq is a command that updates an existing rabbitmq target
Trait Implementations§
Source§impl Clone for TargetUpdateRabbitMq
impl Clone for TargetUpdateRabbitMq
Source§fn clone(&self) -> TargetUpdateRabbitMq
fn clone(&self) -> TargetUpdateRabbitMq
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 TargetUpdateRabbitMq
impl Debug for TargetUpdateRabbitMq
Source§impl Default for TargetUpdateRabbitMq
impl Default for TargetUpdateRabbitMq
Source§fn default() -> TargetUpdateRabbitMq
fn default() -> TargetUpdateRabbitMq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetUpdateRabbitMq
impl<'de> Deserialize<'de> for TargetUpdateRabbitMq
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 TargetUpdateRabbitMq
impl PartialEq for TargetUpdateRabbitMq
Source§fn eq(&self, other: &TargetUpdateRabbitMq) -> bool
fn eq(&self, other: &TargetUpdateRabbitMq) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetUpdateRabbitMq
impl Serialize for TargetUpdateRabbitMq
impl StructuralPartialEq for TargetUpdateRabbitMq
Auto Trait Implementations§
impl Freeze for TargetUpdateRabbitMq
impl RefUnwindSafe for TargetUpdateRabbitMq
impl Send for TargetUpdateRabbitMq
impl Sync for TargetUpdateRabbitMq
impl Unpin for TargetUpdateRabbitMq
impl UnsafeUnpin for TargetUpdateRabbitMq
impl UnwindSafe for TargetUpdateRabbitMq
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