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