Struct UnitFileChange
pub struct UnitFileChange {
pub change_type: UnitFileChangeType,
pub path: String,
pub source: String,
}Expand description
A change that a unit file operation made on disk.
Fields§
§change_type: UnitFileChangeTypeThe kind of change.
path: StringThe path of the link.
source: StringThe destination of the link.
Trait Implementations§
§impl Clone for UnitFileChange
impl Clone for UnitFileChange
§fn clone(&self) -> UnitFileChange
fn clone(&self) -> UnitFileChange
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 UnitFileChange
impl Debug for UnitFileChange
§impl<'de> Deserialize<'de> for UnitFileChange
impl<'de> Deserialize<'de> for UnitFileChange
§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 UnitFileChange
§impl PartialEq for UnitFileChange
impl PartialEq for UnitFileChange
§impl Serialize for UnitFileChange
impl Serialize for UnitFileChange
impl StructuralPartialEq for UnitFileChange
§impl Type for UnitFileChange
impl Type for UnitFileChange
Auto Trait Implementations§
impl Freeze for UnitFileChange
impl RefUnwindSafe for UnitFileChange
impl Send for UnitFileChange
impl Sync for UnitFileChange
impl Unpin for UnitFileChange
impl UnsafeUnpin for UnitFileChange
impl UnwindSafe for UnitFileChange
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.