pub struct LUnit {
pub primary_unit_name: String,
pub description: String,
pub load_state: String,
pub active_state: String,
pub sub_state: String,
pub followed_unit: String,
pub unit_object_path: OwnedObjectPath,
pub numeric_job_id: u32,
pub job_type: String,
pub job_object_path: OwnedObjectPath,
}Fields§
§primary_unit_name: String§description: String§load_state: String§active_state: String§sub_state: String§followed_unit: String§unit_object_path: OwnedObjectPath§numeric_job_id: u32If there is a job queued for the job unit the numeric job id, 0 otherwise
job_type: String§job_object_path: OwnedObjectPathTrait Implementations§
Source§impl<'de> Deserialize<'de> for LUnit
impl<'de> Deserialize<'de> for LUnit
Source§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 StructuralPartialEq for LUnit
Auto Trait Implementations§
impl Freeze for LUnit
impl RefUnwindSafe for LUnit
impl Send for LUnit
impl Sync for LUnit
impl Unpin for LUnit
impl UnwindSafe for LUnit
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§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.