Struct ocf::Process [] [src]

pub struct Process {
    pub terminal: Option<bool>,
    pub linux_user: Option<User>,
    pub cmd: String,
    pub args: Vec<String>,
    pub env: Vec<Env>,
    pub cwd: Option<String>,
}

Fields

terminal
linux_user
cmd
args
env
cwd

Methods

impl Process

fn terminal(&self) -> bool

fn linux_user(&self) -> Option<&User>

fn cmd(&self) -> &str

fn args(&self) -> &[String]

fn env(&self) -> &[Env]

fn cwd(&self) -> Option<&str>

Trait Implementations

impl Deserialize for Process

fn deserialize<D: Deserializer>(d: &mut D) -> Result<Self, D::Error>

impl Serialize for Process

fn serialize<S: Serializer>(&self, s: &mut S) -> Result<(), S::Error>

Derived Implementations

impl Debug for Process

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Process

fn clone(&self) -> Process

fn clone_from(&mut self, source: &Self)