Struct aws_sdk_ec2::operation::modify_default_credit_specification::ModifyDefaultCreditSpecificationOutput
source · #[non_exhaustive]pub struct ModifyDefaultCreditSpecificationOutput {
pub instance_family_credit_specification: Option<InstanceFamilyCreditSpecification>,
/* private fields */
}
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_credit_specification: Option<InstanceFamilyCreditSpecification>
The default credit option for CPU usage of the instance family.
Implementations§
source§impl ModifyDefaultCreditSpecificationOutput
impl ModifyDefaultCreditSpecificationOutput
sourcepub fn instance_family_credit_specification(
&self
) -> Option<&InstanceFamilyCreditSpecification>
pub fn instance_family_credit_specification( &self ) -> Option<&InstanceFamilyCreditSpecification>
The default credit option for CPU usage of the instance family.
source§impl ModifyDefaultCreditSpecificationOutput
impl ModifyDefaultCreditSpecificationOutput
sourcepub fn builder() -> ModifyDefaultCreditSpecificationOutputBuilder
pub fn builder() -> ModifyDefaultCreditSpecificationOutputBuilder
Creates a new builder-style object to manufacture ModifyDefaultCreditSpecificationOutput
.
Trait Implementations§
source§impl Clone for ModifyDefaultCreditSpecificationOutput
impl Clone for ModifyDefaultCreditSpecificationOutput
source§fn clone(&self) -> ModifyDefaultCreditSpecificationOutput
fn clone(&self) -> ModifyDefaultCreditSpecificationOutput
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<ModifyDefaultCreditSpecificationOutput> for ModifyDefaultCreditSpecificationOutput
impl PartialEq<ModifyDefaultCreditSpecificationOutput> for ModifyDefaultCreditSpecificationOutput
source§fn eq(&self, other: &ModifyDefaultCreditSpecificationOutput) -> bool
fn eq(&self, other: &ModifyDefaultCreditSpecificationOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ModifyDefaultCreditSpecificationOutput
impl RequestId for ModifyDefaultCreditSpecificationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ModifyDefaultCreditSpecificationOutput
Auto Trait Implementations§
impl RefUnwindSafe for ModifyDefaultCreditSpecificationOutput
impl Send for ModifyDefaultCreditSpecificationOutput
impl Sync for ModifyDefaultCreditSpecificationOutput
impl Unpin for ModifyDefaultCreditSpecificationOutput
impl UnwindSafe for ModifyDefaultCreditSpecificationOutput
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