#[non_exhaustive]pub struct InstanceFamilyCreditSpecification {
pub instance_family: Option<UnlimitedSupportedInstanceFamily>,
pub cpu_credits: Option<String>,
}
Expand description
Describes the default credit option for CPU usage of a burstable performance instance family.
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.instance_family: Option<UnlimitedSupportedInstanceFamily>
The instance family.
cpu_credits: Option<String>
The default credit option for CPU usage of the instance family. Valid values are standard
and unlimited
.
Implementations§
source§impl InstanceFamilyCreditSpecification
impl InstanceFamilyCreditSpecification
sourcepub fn instance_family(&self) -> Option<&UnlimitedSupportedInstanceFamily>
pub fn instance_family(&self) -> Option<&UnlimitedSupportedInstanceFamily>
The instance family.
sourcepub fn cpu_credits(&self) -> Option<&str>
pub fn cpu_credits(&self) -> Option<&str>
The default credit option for CPU usage of the instance family. Valid values are standard
and unlimited
.
source§impl InstanceFamilyCreditSpecification
impl InstanceFamilyCreditSpecification
sourcepub fn builder() -> InstanceFamilyCreditSpecificationBuilder
pub fn builder() -> InstanceFamilyCreditSpecificationBuilder
Creates a new builder-style object to manufacture InstanceFamilyCreditSpecification
.
Trait Implementations§
source§impl Clone for InstanceFamilyCreditSpecification
impl Clone for InstanceFamilyCreditSpecification
source§fn clone(&self) -> InstanceFamilyCreditSpecification
fn clone(&self) -> InstanceFamilyCreditSpecification
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 PartialEq<InstanceFamilyCreditSpecification> for InstanceFamilyCreditSpecification
impl PartialEq<InstanceFamilyCreditSpecification> for InstanceFamilyCreditSpecification
source§fn eq(&self, other: &InstanceFamilyCreditSpecification) -> bool
fn eq(&self, other: &InstanceFamilyCreditSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceFamilyCreditSpecification
Auto Trait Implementations§
impl RefUnwindSafe for InstanceFamilyCreditSpecification
impl Send for InstanceFamilyCreditSpecification
impl Sync for InstanceFamilyCreditSpecification
impl Unpin for InstanceFamilyCreditSpecification
impl UnwindSafe for InstanceFamilyCreditSpecification
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