pub struct SetPressureNotificationsSuppressed {
pub method: SetPressureNotificationsSuppressedMethod,
pub params: SetPressureNotificationsSuppressedParams,
}Expand description
Enable/disable suppressing memory pressure notifications in all processes. setPressureNotificationsSuppressed
Fields§
§method: SetPressureNotificationsSuppressedMethod§params: SetPressureNotificationsSuppressedParamsImplementations§
Source§impl SetPressureNotificationsSuppressed
impl SetPressureNotificationsSuppressed
pub const IDENTIFIER: &'static str = "Memory.setPressureNotificationsSuppressed"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetPressureNotificationsSuppressed
impl Clone for SetPressureNotificationsSuppressed
Source§fn clone(&self) -> SetPressureNotificationsSuppressed
fn clone(&self) -> SetPressureNotificationsSuppressed
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 CommandResult for SetPressureNotificationsSuppressed
impl CommandResult for SetPressureNotificationsSuppressed
type Result = SetPressureNotificationsSuppressedResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for SetPressureNotificationsSuppressed
impl<'de> Deserialize<'de> for SetPressureNotificationsSuppressed
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 From<SetPressureNotificationsSuppressed> for BrowserProtocolCommands
impl From<SetPressureNotificationsSuppressed> for BrowserProtocolCommands
Source§fn from(v: SetPressureNotificationsSuppressed) -> Self
fn from(v: SetPressureNotificationsSuppressed) -> Self
Converts to this type from the input type.
Source§impl From<SetPressureNotificationsSuppressed> for Command
impl From<SetPressureNotificationsSuppressed> for Command
Source§fn from(v: SetPressureNotificationsSuppressed) -> Self
fn from(v: SetPressureNotificationsSuppressed) -> Self
Converts to this type from the input type.
Source§impl From<SetPressureNotificationsSuppressed> for MemoryCommands
impl From<SetPressureNotificationsSuppressed> for MemoryCommands
Source§fn from(v: SetPressureNotificationsSuppressed) -> Self
fn from(v: SetPressureNotificationsSuppressed) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetPressureNotificationsSuppressed
impl PartialEq for SetPressureNotificationsSuppressed
Source§fn eq(&self, other: &SetPressureNotificationsSuppressed) -> bool
fn eq(&self, other: &SetPressureNotificationsSuppressed) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolCommands> for SetPressureNotificationsSuppressed
impl TryFrom<BrowserProtocolCommands> for SetPressureNotificationsSuppressed
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetPressureNotificationsSuppressed as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetPressureNotificationsSuppressed as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<MemoryCommands> for SetPressureNotificationsSuppressed
impl TryFrom<MemoryCommands> for SetPressureNotificationsSuppressed
Source§type Error = MemoryCommands
type Error = MemoryCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: MemoryCommands,
) -> Result<Self, <SetPressureNotificationsSuppressed as TryFrom<MemoryCommands>>::Error>
fn try_from( e: MemoryCommands, ) -> Result<Self, <SetPressureNotificationsSuppressed as TryFrom<MemoryCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetPressureNotificationsSuppressed
Auto Trait Implementations§
impl Freeze for SetPressureNotificationsSuppressed
impl RefUnwindSafe for SetPressureNotificationsSuppressed
impl Send for SetPressureNotificationsSuppressed
impl Sync for SetPressureNotificationsSuppressed
impl Unpin for SetPressureNotificationsSuppressed
impl UnsafeUnpin for SetPressureNotificationsSuppressed
impl UnwindSafe for SetPressureNotificationsSuppressed
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