pub struct TlsSection {
pub cert_path: String,
pub key_path: String,
}Expand description
TLS (Transport Layer Security) section.
TLS is activated automatically when the App.Urls array
contains one or more https:// entries. The certificate
and key paths are read from this section.
Fields§
§cert_path: StringPath to TLS certificate PEM file.
key_path: StringPath to TLS private key PEM file.
Trait Implementations§
Source§impl Clone for TlsSection
impl Clone for TlsSection
Source§fn clone(&self) -> TlsSection
fn clone(&self) -> TlsSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TlsSection
impl Debug for TlsSection
Source§impl Default for TlsSection
impl Default for TlsSection
Source§fn default() -> TlsSection
fn default() -> TlsSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TlsSection
impl<'de> Deserialize<'de> for TlsSection
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 TlsSection
impl RefUnwindSafe for TlsSection
impl Send for TlsSection
impl Sync for TlsSection
impl Unpin for TlsSection
impl UnsafeUnpin for TlsSection
impl UnwindSafe for TlsSection
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