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§
source§impl Clone for UnitResCtl
impl Clone for UnitResCtl
source§fn clone(&self) -> UnitResCtl
fn clone(&self) -> UnitResCtl
Returns a copy of the value. Read more
1.0.0 · 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 UnitResCtl
impl Debug for UnitResCtl
source§impl Default for UnitResCtl
impl Default for UnitResCtl
source§fn default() -> UnitResCtl
fn default() -> UnitResCtl
Returns the “default value” for a type. Read more
source§impl Display for UnitResCtl
impl Display for UnitResCtl
source§impl PartialEq for UnitResCtl
impl PartialEq for UnitResCtl
source§fn 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 ==
.impl Eq for UnitResCtl
impl StructuralPartialEq for UnitResCtl
Auto Trait Implementations§
impl Freeze for UnitResCtl
impl RefUnwindSafe for UnitResCtl
impl Send for UnitResCtl
impl Sync for UnitResCtl
impl Unpin for UnitResCtl
impl UnwindSafe for UnitResCtl
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