pub struct ConsulGateway {
pub proxy: Option<ConsulGatewayProxy>,
pub ingress: Option<ConsulIngressConfigEntry>,
pub terminating: Option<ConsulTerminatingConfigEntry>,
pub mesh: Option<ConsulMeshConfigEntry>,
}
Expand description
ConsulGateway is used to configure one of the Consul Connect Gateway types.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§proxy: Option<ConsulGatewayProxy>
Proxy is used to configure the Envoy instance acting as the gateway.
ingress: Option<ConsulIngressConfigEntry>
Ingress represents the Consul Configuration Entry for an Ingress Gateway.
terminating: Option<ConsulTerminatingConfigEntry>
Terminating represents the Consul Configuration Entry for a Terminating Gateway.
mesh: Option<ConsulMeshConfigEntry>
Mesh indicates the Consul service should be a Mesh Gateway.
Trait Implementations§
Source§impl Clone for ConsulGateway
impl Clone for ConsulGateway
Source§fn clone(&self) -> ConsulGateway
fn clone(&self) -> ConsulGateway
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 ConsulGateway
impl Debug for ConsulGateway
Source§impl Default for ConsulGateway
impl Default for ConsulGateway
Source§fn default() -> ConsulGateway
fn default() -> ConsulGateway
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulGateway
impl<'de> Deserialize<'de> for ConsulGateway
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 ConsulGateway
impl PartialEq for ConsulGateway
Source§impl Serialize for ConsulGateway
impl Serialize for ConsulGateway
impl StructuralPartialEq for ConsulGateway
Auto Trait Implementations§
impl Freeze for ConsulGateway
impl RefUnwindSafe for ConsulGateway
impl Send for ConsulGateway
impl Sync for ConsulGateway
impl Unpin for ConsulGateway
impl UnwindSafe for ConsulGateway
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