Struct JobUnitRef
pub struct JobUnitRef {
pub name: String,
pub path: OwnedObjectPath,
}Expand description
The unit of a job, the (so) value of the Unit property of a job.
Fields§
§name: StringThe primary name of the unit.
path: OwnedObjectPathThe object path of the unit.
Trait Implementations§
§impl Clone for JobUnitRef
impl Clone for JobUnitRef
§fn clone(&self) -> JobUnitRef
fn clone(&self) -> JobUnitRef
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 JobUnitRef
impl Debug for JobUnitRef
§impl<'de> Deserialize<'de> for JobUnitRef
impl<'de> Deserialize<'de> for JobUnitRef
§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 JobUnitRef
§impl From<JobUnitRef> for Value<'static>
impl From<JobUnitRef> for Value<'static>
§fn from(s: JobUnitRef) -> Self
fn from(s: JobUnitRef) -> Self
Converts to this type from the input type.
§impl PartialEq for JobUnitRef
impl PartialEq for JobUnitRef
§impl Serialize for JobUnitRef
impl Serialize for JobUnitRef
impl StructuralPartialEq for JobUnitRef
§impl TryFrom<JobUnitRef> for OwnedValue
impl TryFrom<JobUnitRef> for OwnedValue
§fn try_from(s: JobUnitRef) -> Result<Self>
fn try_from(s: JobUnitRef) -> Result<Self>
Performs the conversion.
§impl TryFrom<OwnedValue> for JobUnitRef
impl TryFrom<OwnedValue> for JobUnitRef
§impl TryFrom<Value<'static>> for JobUnitRef
impl TryFrom<Value<'static>> for JobUnitRef
§impl Type for JobUnitRef
impl Type for JobUnitRef
Auto Trait Implementations§
impl Freeze for JobUnitRef
impl RefUnwindSafe for JobUnitRef
impl Send for JobUnitRef
impl Sync for JobUnitRef
impl Unpin for JobUnitRef
impl UnsafeUnpin for JobUnitRef
impl UnwindSafe for JobUnitRef
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.