pub struct ExecAction {
pub command: Option<Vec<String>>,
}Fields§
§command: Option<Vec<String>>Command is the command line to execute inside the container, the working directory for the command is root (‘/’) in the container’s filesystem. The command is simply exec’d, it is not run inside a shell, so traditional shell instructions (‘|’, etc) won’t work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. +optional
Implementations§
Source§impl ExecAction
impl ExecAction
pub fn new() -> ExecAction
Trait Implementations§
Source§impl Clone for ExecAction
impl Clone for ExecAction
Source§fn clone(&self) -> ExecAction
fn clone(&self) -> ExecAction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecAction
impl Debug for ExecAction
Source§impl<'de> Deserialize<'de> for ExecAction
impl<'de> Deserialize<'de> for ExecAction
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>,
Source§impl FromStr for ExecAction
Converts Query Parameters representation (style=form, explode=false) to a ExecAction value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for ExecAction
Converts Query Parameters representation (style=form, explode=false) to a ExecAction value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for ExecAction
impl PartialEq for ExecAction
Source§impl Serialize for ExecAction
impl Serialize for ExecAction
Source§impl ToString for ExecAction
Converts the ExecAction value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for ExecAction
Converts the ExecAction value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer