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