#[non_exhaustive]pub struct HttpServerTls {
pub local_certificate: Option<String>,
pub authentication_type: Option<String>,
pub certificate_authority: Option<String>,
}Expand description
The tls block of an HTTP server.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.local_certificate: Option<String>§authentication_type: Option<String>From mutual-authentication { authentication-type }, e.g. request-cert-and-verify.
From mutual-authentication { certificate-authority }.
Trait Implementations§
Source§impl Clone for HttpServerTls
impl Clone for HttpServerTls
Source§impl Debug for HttpServerTls
impl Debug for HttpServerTls
impl Eq for HttpServerTls
Source§impl PartialEq for HttpServerTls
impl PartialEq for HttpServerTls
impl StructuralPartialEq for HttpServerTls
Auto Trait Implementations§
impl Forget for HttpServerTls
impl Freeze for HttpServerTls
impl Move for HttpServerTls
impl RefUnwindSafe for HttpServerTls
impl Send for HttpServerTlswhere
RawVecInner: Send,
impl Sync for HttpServerTlswhere
RawVecInner: Sync,
impl Unpin for HttpServerTls
impl UnsafeUnpin for HttpServerTls
impl UnwindSafe for HttpServerTlswhere
RawVecInner: UnwindSafe,
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