Struct aws_sdk_ec2::types::HibernationOptionsRequest
source · #[non_exhaustive]pub struct HibernationOptionsRequest {
pub configured: Option<bool>,
}
Expand description
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon EC2 User Guide.
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.configured: Option<bool>
Set to true
to enable your instance for hibernation.
Default: false
Implementations§
source§impl HibernationOptionsRequest
impl HibernationOptionsRequest
sourcepub fn configured(&self) -> Option<bool>
pub fn configured(&self) -> Option<bool>
Set to true
to enable your instance for hibernation.
Default: false
source§impl HibernationOptionsRequest
impl HibernationOptionsRequest
sourcepub fn builder() -> HibernationOptionsRequestBuilder
pub fn builder() -> HibernationOptionsRequestBuilder
Creates a new builder-style object to manufacture HibernationOptionsRequest
.
Trait Implementations§
source§impl Clone for HibernationOptionsRequest
impl Clone for HibernationOptionsRequest
source§fn clone(&self) -> HibernationOptionsRequest
fn clone(&self) -> HibernationOptionsRequest
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 Debug for HibernationOptionsRequest
impl Debug for HibernationOptionsRequest
source§impl PartialEq<HibernationOptionsRequest> for HibernationOptionsRequest
impl PartialEq<HibernationOptionsRequest> for HibernationOptionsRequest
source§fn eq(&self, other: &HibernationOptionsRequest) -> bool
fn eq(&self, other: &HibernationOptionsRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HibernationOptionsRequest
Auto Trait Implementations§
impl RefUnwindSafe for HibernationOptionsRequest
impl Send for HibernationOptionsRequest
impl Sync for HibernationOptionsRequest
impl Unpin for HibernationOptionsRequest
impl UnwindSafe for HibernationOptionsRequest
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