Struct northstar_runtime::api::model::MemoryNotification
source · pub struct MemoryNotification {
pub low: Option<u64>,
pub high: Option<u64>,
pub max: Option<u64>,
pub oom: Option<u64>,
pub oom_kill: Option<u64>,
}Expand description
CGroup memory event data
Fields§
§low: Option<u64>§high: Option<u64>§max: Option<u64>§oom: Option<u64>§oom_kill: Option<u64>Trait Implementations§
source§impl Clone for MemoryNotification
impl Clone for MemoryNotification
source§fn clone(&self) -> MemoryNotification
fn clone(&self) -> MemoryNotification
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 MemoryNotification
impl Debug for MemoryNotification
source§impl<'de> Deserialize<'de> for MemoryNotification
impl<'de> Deserialize<'de> for MemoryNotification
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 MemoryNotification
impl PartialEq for MemoryNotification
source§fn eq(&self, other: &MemoryNotification) -> bool
fn eq(&self, other: &MemoryNotification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MemoryNotification
impl Serialize for MemoryNotification
impl Eq for MemoryNotification
impl StructuralEq for MemoryNotification
impl StructuralPartialEq for MemoryNotification
Auto Trait Implementations§
impl RefUnwindSafe for MemoryNotification
impl Send for MemoryNotification
impl Sync for MemoryNotification
impl Unpin for MemoryNotification
impl UnwindSafe for MemoryNotification
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.