pub struct ServiceDetails {
pub name: String,
pub program: String,
pub arguments: Vec<String>,
pub working_directory: Option<String>,
pub run_at_load: bool,
pub keep_alive: bool,
pub env_file: Option<String>,
pub env_vars: Vec<(String, String)>,
pub after: Vec<String>,
pub schedule: Option<CalendarSchedule>,
}Fields§
§name: String§program: String§arguments: Vec<String>§working_directory: Option<String>§run_at_load: bool§keep_alive: bool§env_file: Option<String>§env_vars: Vec<(String, String)>§after: Vec<String>§schedule: Option<CalendarSchedule>Trait Implementations§
Source§impl Clone for ServiceDetails
impl Clone for ServiceDetails
Source§fn clone(&self) -> ServiceDetails
fn clone(&self) -> ServiceDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ServiceDetails
impl RefUnwindSafe for ServiceDetails
impl Send for ServiceDetails
impl Sync for ServiceDetails
impl Unpin for ServiceDetails
impl UnwindSafe for ServiceDetails
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more