Skip to content

Commit c4a46b3

Browse files
committed
Add documentation for Deserialize on ClapArgs
1 parent a462071 commit c4a46b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tls/cli.rs

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ use super::EncryptionType;
66
/// Implementation of [`clap::Args`](https://docs.rs/clap/3/clap/trait.Args.html) that mirrors
77
/// the [Zabbix native tool TLS configuration
88
/// 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.
912
pub struct ClapArgs {
1013
/// How to encrypt the connection to Zabbix Server or Proxy
1114
#[clap(long, arg_enum, default_value_t)]

0 commit comments

Comments
 (0)