pub struct SystemdManagerGetUnitFileStateReply {
pub request: Box<SystemdManagerGetUnitRequest>,
pub unit_file_state: Box<SystemdUnitFileState>,
}Fields§
§request: Box<SystemdManagerGetUnitRequest>§unit_file_state: Box<SystemdUnitFileState>Implementations§
Source§impl SystemdManagerGetUnitFileStateReply
impl SystemdManagerGetUnitFileStateReply
pub fn new( request: SystemdManagerGetUnitRequest, unit_file_state: SystemdUnitFileState, ) -> SystemdManagerGetUnitFileStateReply
Trait Implementations§
Source§impl Clone for SystemdManagerGetUnitFileStateReply
impl Clone for SystemdManagerGetUnitFileStateReply
Source§fn clone(&self) -> SystemdManagerGetUnitFileStateReply
fn clone(&self) -> SystemdManagerGetUnitFileStateReply
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<'de> Deserialize<'de> for SystemdManagerGetUnitFileStateReply
impl<'de> Deserialize<'de> for SystemdManagerGetUnitFileStateReply
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 Ord for SystemdManagerGetUnitFileStateReply
impl Ord for SystemdManagerGetUnitFileStateReply
Source§fn cmp(&self, other: &SystemdManagerGetUnitFileStateReply) -> Ordering
fn cmp(&self, other: &SystemdManagerGetUnitFileStateReply) -> 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 SystemdManagerGetUnitFileStateReply
impl PartialEq for SystemdManagerGetUnitFileStateReply
Source§fn eq(&self, other: &SystemdManagerGetUnitFileStateReply) -> bool
fn eq(&self, other: &SystemdManagerGetUnitFileStateReply) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SystemdManagerGetUnitFileStateReply
impl PartialOrd for SystemdManagerGetUnitFileStateReply
impl Eq for SystemdManagerGetUnitFileStateReply
impl StructuralPartialEq for SystemdManagerGetUnitFileStateReply
Auto Trait Implementations§
impl Freeze for SystemdManagerGetUnitFileStateReply
impl RefUnwindSafe for SystemdManagerGetUnitFileStateReply
impl Send for SystemdManagerGetUnitFileStateReply
impl Sync for SystemdManagerGetUnitFileStateReply
impl Unpin for SystemdManagerGetUnitFileStateReply
impl UnsafeUnpin for SystemdManagerGetUnitFileStateReply
impl UnwindSafe for SystemdManagerGetUnitFileStateReply
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