pub struct ListedUnit {
pub name: String,
pub description: String,
pub load_state: String,
pub active_state: String,
pub sub_state: String,
pub follow_unit: String,
pub unit_object_path: OwnedObjectPath,
pub job_id: u32,
pub job_type: String,
pub job_object_path: OwnedObjectPath,
}
Expand description
Representation of the returned Tuple from list_units - Better typing etc.
Fields§
§name: String
§description: String
§load_state: String
§active_state: String
§sub_state: String
§follow_unit: String
§unit_object_path: OwnedObjectPath
§job_id: u32
§job_type: String
§job_object_path: OwnedObjectPath
Trait Implementations§
Source§impl Debug for ListedUnit
impl Debug for ListedUnit
Auto Trait Implementations§
impl Freeze for ListedUnit
impl RefUnwindSafe for ListedUnit
impl Send for ListedUnit
impl Sync for ListedUnit
impl Unpin for ListedUnit
impl UnwindSafe for ListedUnit
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