Struct consul_rs::agent::AgentServiceConnectProxyConfig [−][src]
pub struct AgentServiceConnectProxyConfig { pub DestinationServiceName: Option<String>, pub DestinationServiceID: Option<String>, pub LocalServiceAddress: Option<String>, pub LocalServicePort: Option<String>, pub Mode: Option<ProxyMode>, pub TransparentProxy: Option<String>, pub Config: Option<HashMap<String, Value>>, pub Upstreams: Option<Vec<Upstream>>, pub MeshGateway: Option<MeshGatewayConfig>, pub Expose: Option<ExposeConfig>, }
Expand description
AgentServiceConnectProxyConfig is the proxy configuration in a connect-proxy ServiceDefinition or response.
Fields
DestinationServiceName: Option<String>
DestinationServiceID: Option<String>
LocalServiceAddress: Option<String>
LocalServicePort: Option<String>
Mode: Option<ProxyMode>
TransparentProxy: Option<String>
Config: Option<HashMap<String, Value>>
Upstreams: Option<Vec<Upstream>>
MeshGateway: Option<MeshGatewayConfig>
Expose: Option<ExposeConfig>
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl Send for AgentServiceConnectProxyConfig
impl Sync for AgentServiceConnectProxyConfig
impl Unpin for AgentServiceConnectProxyConfig
impl UnwindSafe for AgentServiceConnectProxyConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more