Struct rd_util::systemd::UnitResCtl
source · [−]pub struct UnitResCtl {
pub cpu_weight: Option<u64>,
pub io_weight: Option<u64>,
pub mem_min: Option<u64>,
pub mem_low: Option<u64>,
pub mem_high: Option<u64>,
pub mem_max: Option<u64>,
}Fields
cpu_weight: Option<u64>io_weight: Option<u64>mem_min: Option<u64>mem_low: Option<u64>mem_high: Option<u64>mem_max: Option<u64>Trait Implementations
sourceimpl Clone for UnitResCtl
impl Clone for UnitResCtl
sourcefn clone(&self) -> UnitResCtl
fn clone(&self) -> UnitResCtl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UnitResCtl
impl Debug for UnitResCtl
sourceimpl Default for UnitResCtl
impl Default for UnitResCtl
sourcefn default() -> UnitResCtl
fn default() -> UnitResCtl
Returns the “default value” for a type. Read more
sourceimpl Display for UnitResCtl
impl Display for UnitResCtl
sourceimpl PartialEq<UnitResCtl> for UnitResCtl
impl PartialEq<UnitResCtl> for UnitResCtl
sourcefn eq(&self, other: &UnitResCtl) -> bool
fn eq(&self, other: &UnitResCtl) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UnitResCtl) -> bool
fn ne(&self, other: &UnitResCtl) -> bool
This method tests for !=.
impl Eq for UnitResCtl
impl StructuralEq for UnitResCtl
impl StructuralPartialEq for UnitResCtl
Auto Trait Implementations
impl RefUnwindSafe for UnitResCtl
impl Send for UnitResCtl
impl Sync for UnitResCtl
impl Unpin for UnitResCtl
impl UnwindSafe for UnitResCtl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more