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