pub struct BrokerTlsConfig {
pub ca_cert: Option<String>,
pub client_cert: Option<String>,
pub client_key: Option<String>,
pub insecure_skip_verify: bool,
}Expand description
TLS configuration for broker connection
Fields§
§ca_cert: Option<String>Path to CA certificate file
client_cert: Option<String>Path to client certificate file (for mTLS)
client_key: Option<String>Path to client key file (for mTLS)
insecure_skip_verify: boolSkip server certificate verification (NOT recommended for production)
Trait Implementations§
Source§impl Clone for BrokerTlsConfig
impl Clone for BrokerTlsConfig
Source§fn clone(&self) -> BrokerTlsConfig
fn clone(&self) -> BrokerTlsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 BrokerTlsConfig
impl Debug for BrokerTlsConfig
Source§impl<'de> Deserialize<'de> for BrokerTlsConfig
impl<'de> Deserialize<'de> for BrokerTlsConfig
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
Auto Trait Implementations§
impl Freeze for BrokerTlsConfig
impl RefUnwindSafe for BrokerTlsConfig
impl Send for BrokerTlsConfig
impl Sync for BrokerTlsConfig
impl Unpin for BrokerTlsConfig
impl UnsafeUnpin for BrokerTlsConfig
impl UnwindSafe for BrokerTlsConfig
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