pub struct PurpleMemory {
pub disable_oom_killer: Option<bool>,
pub kernel: Option<i64>,
pub kernel_tcp: Option<i64>,
pub limit: Option<i64>,
pub reservation: Option<i64>,
pub swap: Option<i64>,
pub swappiness: Option<i64>,
}
Fields§
§disable_oom_killer: Option<bool>
§kernel: Option<i64>
§kernel_tcp: Option<i64>
§limit: Option<i64>
§reservation: Option<i64>
§swap: Option<i64>
§swappiness: Option<i64>
Trait Implementations§
Source§impl Clone for PurpleMemory
impl Clone for PurpleMemory
Source§fn clone(&self) -> PurpleMemory
fn clone(&self) -> PurpleMemory
Returns a duplicate 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 PurpleMemory
impl Debug for PurpleMemory
Source§impl Default for PurpleMemory
impl Default for PurpleMemory
Source§fn default() -> PurpleMemory
fn default() -> PurpleMemory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurpleMemory
impl<'de> Deserialize<'de> for PurpleMemory
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 PartialEq for PurpleMemory
impl PartialEq for PurpleMemory
Source§impl Serialize for PurpleMemory
impl Serialize for PurpleMemory
impl StructuralPartialEq for PurpleMemory
Auto Trait Implementations§
impl Freeze for PurpleMemory
impl RefUnwindSafe for PurpleMemory
impl Send for PurpleMemory
impl Sync for PurpleMemory
impl Unpin for PurpleMemory
impl UnwindSafe for PurpleMemory
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