pub struct MiddlewareTCPSpec {
pub in_flight_conn: Option<MiddlewareTCPInFlightConn>,
pub ip_allow_list: Option<MiddlewareTCPIpAllowList>,
pub ip_white_list: Option<MiddlewareTCPIpWhiteList>,
}Expand description
MiddlewareTCPSpec defines the desired state of a MiddlewareTCP.
Fields§
§in_flight_conn: Option<MiddlewareTCPInFlightConn>InFlightConn defines the InFlightConn middleware configuration.
ip_allow_list: Option<MiddlewareTCPIpAllowList>IPAllowList defines the IPAllowList middleware configuration. This middleware accepts/refuses connections based on the client IP. More info: https://doc.traefik.io/traefik/v3.6/reference/routing-configuration/tcp/middlewares/ipallowlist/
ip_white_list: Option<MiddlewareTCPIpWhiteList>IPWhiteList defines the IPWhiteList middleware configuration. This middleware accepts/refuses connections based on the client IP. Deprecated: please use IPAllowList instead. More info: https://doc.traefik.io/traefik/v3.6/reference/routing-configuration/tcp/middlewares/ipwhitelist/
Trait Implementations§
Source§impl Clone for MiddlewareTCPSpec
impl Clone for MiddlewareTCPSpec
Source§fn clone(&self) -> MiddlewareTCPSpec
fn clone(&self) -> MiddlewareTCPSpec
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 MiddlewareTCPSpec
impl Debug for MiddlewareTCPSpec
Source§impl Default for MiddlewareTCPSpec
impl Default for MiddlewareTCPSpec
Source§fn default() -> MiddlewareTCPSpec
fn default() -> MiddlewareTCPSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MiddlewareTCPSpec
impl<'de> Deserialize<'de> for MiddlewareTCPSpec
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 MiddlewareTCPSpec
impl PartialEq for MiddlewareTCPSpec
Source§impl Serialize for MiddlewareTCPSpec
impl Serialize for MiddlewareTCPSpec
impl StructuralPartialEq for MiddlewareTCPSpec
Auto Trait Implementations§
impl Freeze for MiddlewareTCPSpec
impl RefUnwindSafe for MiddlewareTCPSpec
impl Send for MiddlewareTCPSpec
impl Sync for MiddlewareTCPSpec
impl Unpin for MiddlewareTCPSpec
impl UnwindSafe for MiddlewareTCPSpec
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