pub struct ServicePlan {
pub unit: UnitName,
pub source: ServiceSource,
pub enabled: bool,
}Expand description
A daemon, its unit resolved for the family.
Fields§
§unit: UnitNameThe unit, as the family names it (ssh on Debian for the table’s ssh, sshd on Rocky).
source: ServiceSourceWhere its unit comes from.
enabled: boolStarted at boot and now (else disabled and stopped).
Trait Implementations§
Source§impl Clone for ServicePlan
impl Clone for ServicePlan
Source§impl Debug for ServicePlan
impl Debug for ServicePlan
impl Eq for ServicePlan
Source§impl PartialEq for ServicePlan
impl PartialEq for ServicePlan
impl StructuralPartialEq for ServicePlan
Auto Trait Implementations§
impl Freeze for ServicePlan
impl RefUnwindSafe for ServicePlan
impl Send for ServicePlan
impl Sync for ServicePlan
impl Unpin for ServicePlan
impl UnsafeUnpin for ServicePlan
impl UnwindSafe for ServicePlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.