Struct nomad_client_rs::models::consul_connect::ConsulConnect
source · pub struct ConsulConnect {
pub native: Option<bool>,
pub sidecar_service: Option<ConsulSidecarService>,
pub sidecar_task: Option<SidecarTask>,
}
Fields§
§native: Option<bool>
§sidecar_service: Option<ConsulSidecarService>
§sidecar_task: Option<SidecarTask>
Trait Implementations§
source§impl Clone for ConsulConnect
impl Clone for ConsulConnect
source§fn clone(&self) -> ConsulConnect
fn clone(&self) -> ConsulConnect
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 ConsulConnect
impl Debug for ConsulConnect
source§impl Default for ConsulConnect
impl Default for ConsulConnect
source§fn default() -> ConsulConnect
fn default() -> ConsulConnect
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConsulConnect
impl<'de> Deserialize<'de> for ConsulConnect
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