#[non_exhaustive]pub struct HibernationOptionsRequestBuilder { /* private fields */ }
Expand description
A builder for HibernationOptionsRequest
.
Implementations§
source§impl HibernationOptionsRequestBuilder
impl HibernationOptionsRequestBuilder
sourcepub fn configured(self, input: bool) -> Self
pub fn configured(self, input: bool) -> Self
Set to true
to enable your instance for hibernation.
Default: false
sourcepub fn set_configured(self, input: Option<bool>) -> Self
pub fn set_configured(self, input: Option<bool>) -> Self
Set to true
to enable your instance for hibernation.
Default: false
sourcepub fn get_configured(&self) -> &Option<bool>
pub fn get_configured(&self) -> &Option<bool>
Set to true
to enable your instance for hibernation.
Default: false
sourcepub fn build(self) -> HibernationOptionsRequest
pub fn build(self) -> HibernationOptionsRequest
Consumes the builder and constructs a HibernationOptionsRequest
.
Trait Implementations§
source§impl Clone for HibernationOptionsRequestBuilder
impl Clone for HibernationOptionsRequestBuilder
source§fn clone(&self) -> HibernationOptionsRequestBuilder
fn clone(&self) -> HibernationOptionsRequestBuilder
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 Default for HibernationOptionsRequestBuilder
impl Default for HibernationOptionsRequestBuilder
source§fn default() -> HibernationOptionsRequestBuilder
fn default() -> HibernationOptionsRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<HibernationOptionsRequestBuilder> for HibernationOptionsRequestBuilder
impl PartialEq<HibernationOptionsRequestBuilder> for HibernationOptionsRequestBuilder
source§fn eq(&self, other: &HibernationOptionsRequestBuilder) -> bool
fn eq(&self, other: &HibernationOptionsRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HibernationOptionsRequestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for HibernationOptionsRequestBuilder
impl Send for HibernationOptionsRequestBuilder
impl Sync for HibernationOptionsRequestBuilder
impl Unpin for HibernationOptionsRequestBuilder
impl UnwindSafe for HibernationOptionsRequestBuilder
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