Struct systemctl_tui::systemd::UnitId
source · pub struct UnitId {
pub name: String,
pub scope: UnitScope,
}Expand description
Just enough info to fully identify a unit
Fields§
§name: String§scope: UnitScopeTrait Implementations§
source§impl PartialEq for UnitId
impl PartialEq for UnitId
impl Eq for UnitId
impl StructuralPartialEq for UnitId
Auto Trait Implementations§
impl RefUnwindSafe for UnitId
impl Send for UnitId
impl Sync for UnitId
impl Unpin for UnitId
impl UnwindSafe for UnitId
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.