Struct service_manager::SystemdInstallConfig
source · pub struct SystemdInstallConfig {
pub start_limit_interval_sec: Option<u32>,
pub start_limit_burst: Option<u32>,
pub restart: SystemdServiceRestartType,
pub restart_sec: Option<u32>,
}
Expand description
Configuration settings tied to systemd services during installation
Fields§
§start_limit_interval_sec: Option<u32>
§start_limit_burst: Option<u32>
§restart: SystemdServiceRestartType
§restart_sec: Option<u32>
Trait Implementations§
source§impl Clone for SystemdInstallConfig
impl Clone for SystemdInstallConfig
source§fn clone(&self) -> SystemdInstallConfig
fn clone(&self) -> SystemdInstallConfig
Returns a copy 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 moresource§impl Debug for SystemdInstallConfig
impl Debug for SystemdInstallConfig
source§impl Default for SystemdInstallConfig
impl Default for SystemdInstallConfig
source§impl PartialEq<SystemdInstallConfig> for SystemdInstallConfig
impl PartialEq<SystemdInstallConfig> for SystemdInstallConfig
source§fn eq(&self, other: &SystemdInstallConfig) -> bool
fn eq(&self, other: &SystemdInstallConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SystemdInstallConfig
impl StructuralEq for SystemdInstallConfig
impl StructuralPartialEq for SystemdInstallConfig
Auto Trait Implementations§
impl RefUnwindSafe for SystemdInstallConfig
impl Send for SystemdInstallConfig
impl Sync for SystemdInstallConfig
impl Unpin for SystemdInstallConfig
impl UnwindSafe for SystemdInstallConfig
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