pub struct SystemdUnitFileStateChanged {
pub unit_file_state: Box<SystemdUnitFileState>,
pub unit: Box<SystemdUnit>,
}Fields§
§unit_file_state: Box<SystemdUnitFileState>§unit: Box<SystemdUnit>Implementations§
Source§impl SystemdUnitFileStateChanged
impl SystemdUnitFileStateChanged
pub fn new( unit_file_state: SystemdUnitFileState, unit: SystemdUnit, ) -> SystemdUnitFileStateChanged
Trait Implementations§
Source§impl Clone for SystemdUnitFileStateChanged
impl Clone for SystemdUnitFileStateChanged
Source§fn clone(&self) -> SystemdUnitFileStateChanged
fn clone(&self) -> SystemdUnitFileStateChanged
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 moreSource§impl Debug for SystemdUnitFileStateChanged
impl Debug for SystemdUnitFileStateChanged
Source§impl<'de> Deserialize<'de> for SystemdUnitFileStateChanged
impl<'de> Deserialize<'de> for SystemdUnitFileStateChanged
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
Source§impl Hash for SystemdUnitFileStateChanged
impl Hash for SystemdUnitFileStateChanged
Source§impl Ord for SystemdUnitFileStateChanged
impl Ord for SystemdUnitFileStateChanged
Source§fn cmp(&self, other: &SystemdUnitFileStateChanged) -> Ordering
fn cmp(&self, other: &SystemdUnitFileStateChanged) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SystemdUnitFileStateChanged
impl PartialEq for SystemdUnitFileStateChanged
Source§fn eq(&self, other: &SystemdUnitFileStateChanged) -> bool
fn eq(&self, other: &SystemdUnitFileStateChanged) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SystemdUnitFileStateChanged
impl PartialOrd for SystemdUnitFileStateChanged
impl Eq for SystemdUnitFileStateChanged
impl StructuralPartialEq for SystemdUnitFileStateChanged
Auto Trait Implementations§
impl Freeze for SystemdUnitFileStateChanged
impl RefUnwindSafe for SystemdUnitFileStateChanged
impl Send for SystemdUnitFileStateChanged
impl Sync for SystemdUnitFileStateChanged
impl Unpin for SystemdUnitFileStateChanged
impl UnsafeUnpin for SystemdUnitFileStateChanged
impl UnwindSafe for SystemdUnitFileStateChanged
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