#[non_exhaustive]pub struct ProcessMemoryThreshold {
pub process: String,
pub memory_limit: Option<String>,
}Expand description
A threshold <process> memory-limit <limit> of a process-level event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.process: String§memory_limit: Option<String>MB.
Trait Implementations§
Source§impl Clone for ProcessMemoryThreshold
impl Clone for ProcessMemoryThreshold
Source§impl Debug for ProcessMemoryThreshold
impl Debug for ProcessMemoryThreshold
impl Eq for ProcessMemoryThreshold
Source§impl PartialEq for ProcessMemoryThreshold
impl PartialEq for ProcessMemoryThreshold
impl StructuralPartialEq for ProcessMemoryThreshold
Auto Trait Implementations§
impl Forget for ProcessMemoryThreshold
impl Freeze for ProcessMemoryThreshold
impl Move for ProcessMemoryThreshold
impl RefUnwindSafe for ProcessMemoryThreshold
impl Send for ProcessMemoryThresholdwhere
RawVecInner: Send,
impl Sync for ProcessMemoryThresholdwhere
RawVecInner: Sync,
impl Unpin for ProcessMemoryThreshold
impl UnsafeUnpin for ProcessMemoryThreshold
impl UnwindSafe for ProcessMemoryThresholdwhere
RawVecInner: UnwindSafe,
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