Struct nomad_client_rs::models::sidecar_task::SidecarTask
source · pub struct SidecarTask {
pub name: Option<String>,
pub driver: Option<String>,
pub user: Option<String>,
pub config: Option<HashMap<String, Value>>,
pub env: Option<HashMap<String, String>>,
pub resources: Option<Resources>,
pub meta: Option<HashMap<String, String>>,
pub kill_timeout: Option<i64>,
pub log_config: Option<LogConfig>,
pub shutdown_delay: Option<i64>,
pub kill_signal: Option<String>,
}
Fields§
§name: Option<String>
§driver: Option<String>
§user: Option<String>
§config: Option<HashMap<String, Value>>
§env: Option<HashMap<String, String>>
§resources: Option<Resources>
§meta: Option<HashMap<String, String>>
§kill_timeout: Option<i64>
§log_config: Option<LogConfig>
§shutdown_delay: Option<i64>
§kill_signal: Option<String>
Trait Implementations§
source§impl Clone for SidecarTask
impl Clone for SidecarTask
source§fn clone(&self) -> SidecarTask
fn clone(&self) -> SidecarTask
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 SidecarTask
impl Debug for SidecarTask
source§impl Default for SidecarTask
impl Default for SidecarTask
source§fn default() -> SidecarTask
fn default() -> SidecarTask
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SidecarTask
impl<'de> Deserialize<'de> for SidecarTask
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