@@ -290,6 +290,7 @@ pub struct ClientOptions {
290
290
pub app_name : Option < String > ,
291
291
292
292
#[ builder( default ) ]
293
+ #[ derivative( Debug = "ignore" ) ]
293
294
pub ( crate ) compressors : Option < Vec < String > > ,
294
295
295
296
/// The handler that should process all Connection Monitoring and Pooling events. See the
@@ -404,6 +405,7 @@ pub struct ClientOptions {
404
405
///
405
406
/// The default value is to have no declared API version
406
407
#[ builder( default , skip) ]
408
+ #[ derivative( Debug = "ignore" ) ]
407
409
pub ( crate ) server_api : Option < ServerApi > ,
408
410
409
411
/// The amount of time the Client should attempt to select a server for an operation before
@@ -414,6 +416,7 @@ pub struct ClientOptions {
414
416
pub server_selection_timeout : Option < Duration > ,
415
417
416
418
#[ builder( default ) ]
419
+ #[ derivative( Debug = "ignore" ) ]
417
420
pub ( crate ) socket_timeout : Option < Duration > ,
418
421
419
422
/// The TLS configuration for the Client to use in its connections with the server.
@@ -439,9 +442,11 @@ pub struct ClientOptions {
439
442
pub ( crate ) zlib_compression : Option < i32 > ,
440
443
441
444
#[ builder( default ) ]
445
+ #[ derivative( Debug = "ignore" ) ]
442
446
pub ( crate ) original_srv_hostname : Option < String > ,
443
447
444
448
#[ builder( default ) ]
449
+ #[ derivative( Debug = "ignore" ) ]
445
450
pub ( crate ) original_uri : Option < String > ,
446
451
447
452
/// Configuration of the trust-dns resolver used for SRV and TXT lookups.
@@ -451,10 +456,12 @@ pub struct ClientOptions {
451
456
/// configuration, so a custom configuration is recommended.
452
457
#[ builder( default ) ]
453
458
#[ serde( skip) ]
459
+ #[ derivative( Debug = "ignore" ) ]
454
460
pub ( crate ) resolver_config : Option < ResolverConfig > ,
455
461
456
462
/// Used by tests to override MIN_HEARTBEAT_FREQUENCY.
457
463
#[ builder( default ) ]
464
+ #[ derivative( Debug = "ignore" ) ]
458
465
pub ( crate ) heartbeat_freq_test : Option < Duration > ,
459
466
}
460
467
0 commit comments