pub struct ListenerTls {
pub certificate: ListenerTlsCertificate,
pub mode: String,
}Expand description
An object that represents the Transport Layer Security (TLS) properties for a listener.
Fields§
§certificate: ListenerTlsCertificateA reference to an object that represents a listener's TLS certificate.
mode: StringSpecify one of the following modes.
<ul>
<li>
<p>
<b/>STRICT – Listener only accepts connections with TLS
enabled. </p>
</li>
<li>
<p>
<b/>PERMISSIVE – Listener accepts connections with or
without TLS enabled.</p>
</li>
<li>
<p>
<b/>DISABLED – Listener only accepts connections without
TLS. </p>
</li>
</ul>
Trait Implementations§
Source§impl Clone for ListenerTls
impl Clone for ListenerTls
Source§fn clone(&self) -> ListenerTls
fn clone(&self) -> ListenerTls
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 ListenerTls
impl Debug for ListenerTls
Source§impl Default for ListenerTls
impl Default for ListenerTls
Source§fn default() -> ListenerTls
fn default() -> ListenerTls
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListenerTls
impl<'de> Deserialize<'de> for ListenerTls
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 ListenerTls
impl PartialEq for ListenerTls
Source§impl Serialize for ListenerTls
impl Serialize for ListenerTls
impl StructuralPartialEq for ListenerTls
Auto Trait Implementations§
impl Freeze for ListenerTls
impl RefUnwindSafe for ListenerTls
impl Send for ListenerTls
impl Sync for ListenerTls
impl Unpin for ListenerTls
impl UnwindSafe for ListenerTls
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