pub struct SimulatePressureNotificationParams {
pub level: PressureLevel,
}Expand description
Simulate a memory pressure notification in all processes.
Parameters of Memory.simulatePressureNotification.
Fields§
§level: PressureLevelMemory pressure level of the notification.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SimulatePressureNotificationParams
impl<'de> Deserialize<'de> for SimulatePressureNotificationParams
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
impl StructuralPartialEq for SimulatePressureNotificationParams
Auto Trait Implementations§
impl Forget for SimulatePressureNotificationParams
impl Freeze for SimulatePressureNotificationParams
impl RefUnwindSafe for SimulatePressureNotificationParams
impl Send for SimulatePressureNotificationParams
impl Sync for SimulatePressureNotificationParams
impl Unpin for SimulatePressureNotificationParams
impl UnsafeUnpin for SimulatePressureNotificationParams
impl UnwindSafe for SimulatePressureNotificationParams
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