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
sourceimpl Clone for SystemdInstallConfig
impl Clone for SystemdInstallConfig
sourcefn clone(&self) -> SystemdInstallConfig
fn clone(&self) -> SystemdInstallConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SystemdInstallConfig
impl Debug for SystemdInstallConfig
sourceimpl Default for SystemdInstallConfig
impl Default for SystemdInstallConfig
sourceimpl PartialEq<SystemdInstallConfig> for SystemdInstallConfig
impl PartialEq<SystemdInstallConfig> for SystemdInstallConfig
sourcefn eq(&self, other: &SystemdInstallConfig) -> bool
fn eq(&self, other: &SystemdInstallConfig) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more