Struct libcnb_data::launch::Process [−][src]
pub struct Process {
pub type: ProcessType,
pub command: String,
pub args: Vec<String>,
pub direct: bool,
pub default: bool,
}Fields
type: ProcessTypecommand: Stringargs: Vec<String>direct: booldefault: boolImplementations
pub fn new(
type: ProcessType,
command: impl Into<String>,
args: impl IntoIterator<Item = impl Into<String>>,
direct: bool,
default: bool
) -> Self
Trait Implementations
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
