We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Deserialize
ClapArgs
1 parent a462071 commit c4a46b3Copy full SHA for c4a46b3
src/tls/cli.rs
@@ -6,6 +6,9 @@ use super::EncryptionType;
6
/// Implementation of [`clap::Args`](https://docs.rs/clap/3/clap/trait.Args.html) that mirrors
7
/// the [Zabbix native tool TLS configuration
8
/// options](https://www.zabbix.com/documentation/current/en/manpages/zabbix_sender).
9
+///
10
+/// Also implements `serde::Deserialize` so that it can be used as a part of a larger `Deserialize`
11
+/// struct, like for a configuration file.
12
pub struct ClapArgs {
13
/// How to encrypt the connection to Zabbix Server or Proxy
14
#[clap(long, arg_enum, default_value_t)]
0 commit comments