Struct EnqueuedJob
pub struct EnqueuedJob {
pub job_id: u32,
pub job_path: OwnedObjectPath,
pub unit_id: String,
pub unit_path: OwnedObjectPath,
pub job_type: JobType,
}Expand description
A job that a transaction queued.
EnqueueUnitJob lists these as the affected jobs. EnqueueUnitJobMany
returns one for each requested unit.
Fields§
§job_id: u32The job ID.
job_path: OwnedObjectPathThe object path of the job.
unit_id: StringThe primary name of the unit of the job.
unit_path: OwnedObjectPathThe object path of the unit.
job_type: JobTypeThe type of the job.
Trait Implementations§
§impl Clone for EnqueuedJob
impl Clone for EnqueuedJob
§fn clone(&self) -> EnqueuedJob
fn clone(&self) -> EnqueuedJob
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 EnqueuedJob
impl Debug for EnqueuedJob
§impl<'de> Deserialize<'de> for EnqueuedJob
impl<'de> Deserialize<'de> for EnqueuedJob
§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 EnqueuedJob
§impl PartialEq for EnqueuedJob
impl PartialEq for EnqueuedJob
§impl Serialize for EnqueuedJob
impl Serialize for EnqueuedJob
impl StructuralPartialEq for EnqueuedJob
§impl Type for EnqueuedJob
impl Type for EnqueuedJob
Auto Trait Implementations§
impl Freeze for EnqueuedJob
impl RefUnwindSafe for EnqueuedJob
impl Send for EnqueuedJob
impl Sync for EnqueuedJob
impl Unpin for EnqueuedJob
impl UnsafeUnpin for EnqueuedJob
impl UnwindSafe for EnqueuedJob
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.