pub struct TlsSettings {
pub cert_path: String,
pub key_path: String,
pub ca_path: Option<String>,
}Expand description
Custom TLS settings for the Rspamd client
Fields§
§cert_path: StringPath to the TLS certificate file
key_path: StringPath to the TLS key file
ca_path: Option<String>Optional path to the TLS CA file
Trait Implementations§
Source§impl Clone for TlsSettings
impl Clone for TlsSettings
Source§fn clone(&self) -> TlsSettings
fn clone(&self) -> TlsSettings
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 TlsSettings
impl Debug for TlsSettings
Source§impl PartialEq for TlsSettings
impl PartialEq for TlsSettings
impl StructuralPartialEq for TlsSettings
Auto Trait Implementations§
impl Freeze for TlsSettings
impl RefUnwindSafe for TlsSettings
impl Send for TlsSettings
impl Sync for TlsSettings
impl Unpin for TlsSettings
impl UnwindSafe for TlsSettings
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