space out the struct members with a newline

master
rascul 2 years ago
parent 68cb96a410
commit 9e51c17ac2

@ -9,18 +9,25 @@ use crate::result::Result;
pub struct App { pub struct App {
/// name of the app /// name of the app
pub name: String, pub name: String,
/// path/command to run /// path/command to run
pub command: String, pub command: String,
/// arguments /// arguments
pub args: Option<Vec<String>>, pub args: Option<Vec<String>>,
/// should the app be restarted if it exits successfully /// should the app be restarted if it exits successfully
pub restart_on_success: Option<bool>, pub restart_on_success: Option<bool>,
/// should the app be restarted if it exits unsuccessfully /// should the app be restarted if it exits unsuccessfully
pub restart_on_failure: Option<bool>, pub restart_on_failure: Option<bool>,
/// should the app be restarted if it is terminated /// should the app be restarted if it is terminated
pub restart_on_terminate: Option<bool>, pub restart_on_terminate: Option<bool>,
/// on sup startup, should we wait for this app to run before continuting /// on sup startup, should we wait for this app to run before continuting
pub wait: Option<bool>, pub wait: Option<bool>,
/// should this app keep sup from exiting, if it's running /// should this app keep sup from exiting, if it's running
pub hold: Option<bool>, pub hold: Option<bool>,
} }

Loading…
Cancel
Save