pub struct Listener {
pub health_check: Option<HealthCheckPolicy>,
pub port_mapping: PortMapping,
pub timeout: Option<ListenerTimeout>,
pub tls: Option<ListenerTls>,
}
Expand description
An object that represents a listener for a virtual node.
Fields§
§health_check: Option<HealthCheckPolicy>
The health check information for the listener.
port_mapping: PortMapping
The port mapping information for the listener.
timeout: Option<ListenerTimeout>
An object that represents timeouts for different protocols.
tls: Option<ListenerTls>
A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Listener
impl<'de> Deserialize<'de> for Listener
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
impl StructuralPartialEq for Listener
Auto Trait Implementations§
impl Freeze for Listener
impl RefUnwindSafe for Listener
impl Send for Listener
impl Sync for Listener
impl Unpin for Listener
impl UnwindSafe for Listener
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