Struct ocf::Command [] [src]

pub struct Command {
    pub path: String,
    pub args: Vec<String>,
    pub env: Vec<Env>,
}

Fields

path
args
env

Methods

impl Command

fn path(&self) -> &str

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

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

Trait Implementations

impl Deserialize for Command

fn deserialize<__D>(deserializer: &mut __D) -> Result<Command, __D::Error> where __D: Deserializer

impl Serialize for Command

fn serialize<__S>(&self, serializer: &mut __S) -> Result<(), __S::Error> where __S: Serializer

Derived Implementations

impl Debug for Command

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

impl Clone for Command

fn clone(&self) -> Command

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