Struct systemctl_tui::systemd::UnitWithStatus
source · pub struct UnitWithStatus {
pub name: String,
pub scope: UnitScope,
pub description: String,
pub file_path: Option<String>,
pub load_state: String,
pub active_state: String,
pub sub_state: String,
}Fields§
§name: String§scope: UnitScope§description: String§file_path: Option<String>§load_state: String§active_state: String§sub_state: StringImplementations§
Trait Implementations§
source§impl Clone for UnitWithStatus
impl Clone for UnitWithStatus
source§fn clone(&self) -> UnitWithStatus
fn clone(&self) -> UnitWithStatus
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 moreAuto Trait Implementations§
impl RefUnwindSafe for UnitWithStatus
impl Send for UnitWithStatus
impl Sync for UnitWithStatus
impl Unpin for UnitWithStatus
impl UnwindSafe for UnitWithStatus
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