Struct UnitFileInfo
pub struct UnitFileInfo {
pub path: String,
pub state: UnitFileState,
}Expand description
A unit file in the result of the ListUnitFiles family of methods.
Fields§
§path: StringThe absolute path of the unit file.
state: UnitFileStateThe install state of the unit file.
Trait Implementations§
§impl Clone for UnitFileInfo
impl Clone for UnitFileInfo
§fn clone(&self) -> UnitFileInfo
fn clone(&self) -> UnitFileInfo
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 UnitFileInfo
impl Debug for UnitFileInfo
§impl<'de> Deserialize<'de> for UnitFileInfo
impl<'de> Deserialize<'de> for UnitFileInfo
§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 UnitFileInfo
§impl PartialEq for UnitFileInfo
impl PartialEq for UnitFileInfo
§impl Serialize for UnitFileInfo
impl Serialize for UnitFileInfo
impl StructuralPartialEq for UnitFileInfo
§impl Type for UnitFileInfo
impl Type for UnitFileInfo
Auto Trait Implementations§
impl Freeze for UnitFileInfo
impl RefUnwindSafe for UnitFileInfo
impl Send for UnitFileInfo
impl Sync for UnitFileInfo
impl Unpin for UnitFileInfo
impl UnsafeUnpin for UnitFileInfo
impl UnwindSafe for UnitFileInfo
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.