pub struct ConsulSidecarService {
pub tags: Vec<String>,
pub port: String,
pub proxy: Option<ConsulProxy>,
pub disable_default_tcp_check: Option<bool>,
pub meta: HashMap<String, String>,
}
Expand description
ConsulSidecarService represents a Consul Connect SidecarService jobspec block.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§port: String
§proxy: Option<ConsulProxy>
§disable_default_tcp_check: Option<bool>
§meta: HashMap<String, String>
Trait Implementations§
Source§impl Clone for ConsulSidecarService
impl Clone for ConsulSidecarService
Source§fn clone(&self) -> ConsulSidecarService
fn clone(&self) -> ConsulSidecarService
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 ConsulSidecarService
impl Debug for ConsulSidecarService
Source§impl Default for ConsulSidecarService
impl Default for ConsulSidecarService
Source§fn default() -> ConsulSidecarService
fn default() -> ConsulSidecarService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConsulSidecarService
impl<'de> Deserialize<'de> for ConsulSidecarService
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 ConsulSidecarService
impl PartialEq for ConsulSidecarService
Source§impl Serialize for ConsulSidecarService
impl Serialize for ConsulSidecarService
impl StructuralPartialEq for ConsulSidecarService
Auto Trait Implementations§
impl Freeze for ConsulSidecarService
impl RefUnwindSafe for ConsulSidecarService
impl Send for ConsulSidecarService
impl Sync for ConsulSidecarService
impl Unpin for ConsulSidecarService
impl UnwindSafe for ConsulSidecarService
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