pub struct SetPressureNotificationsSuppressedBuilder { /* private fields */ }Expand description
Builder for SetPressureNotificationsSuppressed.
Implementations§
Source§impl SetPressureNotificationsSuppressedBuilder
impl SetPressureNotificationsSuppressedBuilder
Sourcepub fn suppressed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn suppressed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, memory pressure notifications will be suppressed.
Sourcepub fn build(
&self,
) -> Result<SetPressureNotificationsSuppressed, SetPressureNotificationsSuppressedBuilderError>
pub fn build( &self, ) -> Result<SetPressureNotificationsSuppressed, SetPressureNotificationsSuppressedBuilderError>
Builds a new SetPressureNotificationsSuppressed.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for SetPressureNotificationsSuppressedBuilder
impl Clone for SetPressureNotificationsSuppressedBuilder
Source§fn clone(&self) -> SetPressureNotificationsSuppressedBuilder
fn clone(&self) -> SetPressureNotificationsSuppressedBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetPressureNotificationsSuppressedBuilder
impl RefUnwindSafe for SetPressureNotificationsSuppressedBuilder
impl Send for SetPressureNotificationsSuppressedBuilder
impl Sync for SetPressureNotificationsSuppressedBuilder
impl Unpin for SetPressureNotificationsSuppressedBuilder
impl UnsafeUnpin for SetPressureNotificationsSuppressedBuilder
impl UnwindSafe for SetPressureNotificationsSuppressedBuilder
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