Add Default trait to EnvironmentEntry and ChildProcess structs
This commit is contained in:
parent
5e3d6c2c7c
commit
a874749fd5
@ -75,7 +75,7 @@ pub enum FileContent {
|
|||||||
Data(String),
|
Data(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||||
pub struct EnvironmentEntry {
|
pub struct EnvironmentEntry {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub value: String,
|
pub value: String,
|
||||||
@ -99,7 +99,7 @@ impl From<EnvironmentEntry> for dtpm_proto::EnvironmentEntry {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||||
pub struct ChildProcess {
|
pub struct ChildProcess {
|
||||||
pub path: String,
|
pub path: String,
|
||||||
pub arguments: Vec<String>,
|
pub arguments: Vec<String>,
|
||||||
|
Loading…
Reference in New Issue
Block a user