pub struct SgTlsConfig {
pub mode: SgTlsMode,
pub key: String,
pub cert: String,
pub http2: Option<bool>,
}Expand description
GatewayTLSConfig describes a TLS configuration.
Fields§
§mode: SgTlsMode§key: String§cert: String§http2: Option<bool>Trait Implementations§
Source§impl Clone for SgTlsConfig
impl Clone for SgTlsConfig
Source§fn clone(&self) -> SgTlsConfig
fn clone(&self) -> SgTlsConfig
Returns a copy 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 SgTlsConfig
impl Debug for SgTlsConfig
Source§impl<'de> Deserialize<'de> for SgTlsConfig
impl<'de> Deserialize<'de> for SgTlsConfig
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
Source§impl PartialEq for SgTlsConfig
impl PartialEq for SgTlsConfig
Source§impl Serialize for SgTlsConfig
impl Serialize for SgTlsConfig
impl Eq for SgTlsConfig
impl StructuralPartialEq for SgTlsConfig
Auto Trait Implementations§
impl Freeze for SgTlsConfig
impl RefUnwindSafe for SgTlsConfig
impl Send for SgTlsConfig
impl Sync for SgTlsConfig
impl Unpin for SgTlsConfig
impl UnwindSafe for SgTlsConfig
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