pub struct ConsulTerminatingConfigEntry {
pub services: Vec<ConsulLinkedService>,
}
Expand description
ConsulTerminatingConfigEntry represents the Consul Configuration Entry type for a Terminating Gateway.
https://www.consul.io/docs/agent/config-entries/terminating-gateway#available-fields
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§services: Vec<ConsulLinkedService>
Implementations§
Trait Implementations§
Source§impl Clone for ConsulTerminatingConfigEntry
impl Clone for ConsulTerminatingConfigEntry
Source§fn clone(&self) -> ConsulTerminatingConfigEntry
fn clone(&self) -> ConsulTerminatingConfigEntry
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 ConsulTerminatingConfigEntry
impl Debug for ConsulTerminatingConfigEntry
Source§impl Default for ConsulTerminatingConfigEntry
impl Default for ConsulTerminatingConfigEntry
Source§fn default() -> ConsulTerminatingConfigEntry
fn default() -> ConsulTerminatingConfigEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulTerminatingConfigEntry
impl<'de> Deserialize<'de> for ConsulTerminatingConfigEntry
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 ConsulTerminatingConfigEntry
impl PartialEq for ConsulTerminatingConfigEntry
Source§fn eq(&self, other: &ConsulTerminatingConfigEntry) -> bool
fn eq(&self, other: &ConsulTerminatingConfigEntry) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ConsulTerminatingConfigEntry
Auto Trait Implementations§
impl Freeze for ConsulTerminatingConfigEntry
impl RefUnwindSafe for ConsulTerminatingConfigEntry
impl Send for ConsulTerminatingConfigEntry
impl Sync for ConsulTerminatingConfigEntry
impl Unpin for ConsulTerminatingConfigEntry
impl UnwindSafe for ConsulTerminatingConfigEntry
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