Struct UnitProcess
pub struct UnitProcess {
pub cgroup: String,
pub pid: u32,
pub command: String,
}Expand description
A process of a unit, as GetUnitProcesses returns it.
Fields§
§cgroup: StringThe control group path of the process.
pid: u32The process ID.
command: StringThe command line of the process.
Trait Implementations§
§impl Clone for UnitProcess
impl Clone for UnitProcess
§fn clone(&self) -> UnitProcess
fn clone(&self) -> UnitProcess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for UnitProcess
impl Debug for UnitProcess
§impl<'de> Deserialize<'de> for UnitProcess
impl<'de> Deserialize<'de> for UnitProcess
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UnitProcess
§impl PartialEq for UnitProcess
impl PartialEq for UnitProcess
§impl Serialize for UnitProcess
impl Serialize for UnitProcess
impl StructuralPartialEq for UnitProcess
§impl Type for UnitProcess
impl Type for UnitProcess
Auto Trait Implementations§
impl Freeze for UnitProcess
impl RefUnwindSafe for UnitProcess
impl Send for UnitProcess
impl Sync for UnitProcess
impl Unpin for UnitProcess
impl UnsafeUnpin for UnitProcess
impl UnwindSafe for UnitProcess
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.