Struct UnitByPidFd
pub struct UnitByPidFd {
pub unit: OwnedObjectPath,
pub unit_id: String,
pub invocation_id: Vec<u8>,
}Expand description
The result of GetUnitByPIDFD.
Fields§
§unit: OwnedObjectPathThe object path of the unit.
unit_id: StringThe primary name of the unit.
invocation_id: Vec<u8>The invocation ID of the unit as 16 bytes.
Trait Implementations§
§impl Clone for UnitByPidFd
impl Clone for UnitByPidFd
§fn clone(&self) -> UnitByPidFd
fn clone(&self) -> UnitByPidFd
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 UnitByPidFd
impl Debug for UnitByPidFd
§impl<'de> Deserialize<'de> for UnitByPidFd
impl<'de> Deserialize<'de> for UnitByPidFd
§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 UnitByPidFd
§impl PartialEq for UnitByPidFd
impl PartialEq for UnitByPidFd
§impl Serialize for UnitByPidFd
impl Serialize for UnitByPidFd
impl StructuralPartialEq for UnitByPidFd
§impl Type for UnitByPidFd
impl Type for UnitByPidFd
Auto Trait Implementations§
impl Freeze for UnitByPidFd
impl RefUnwindSafe for UnitByPidFd
impl Send for UnitByPidFd
impl Sync for UnitByPidFd
impl Unpin for UnitByPidFd
impl UnsafeUnpin for UnitByPidFd
impl UnwindSafe for UnitByPidFd
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.