pub struct ModifyDefaultCreditSpecificationRequest {
pub cpu_credits: String,
pub dry_run: Option<bool>,
pub instance_family: String,
}Fields§
§cpu_credits: StringThe credit option for CPU usage of the instance family.
Valid Values: standard | unlimited
dry_run: Option<bool>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
instance_family: StringThe instance family.
Trait Implementations§
Source§impl Clone for ModifyDefaultCreditSpecificationRequest
impl Clone for ModifyDefaultCreditSpecificationRequest
Source§fn clone(&self) -> ModifyDefaultCreditSpecificationRequest
fn clone(&self) -> ModifyDefaultCreditSpecificationRequest
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 moreSource§impl Default for ModifyDefaultCreditSpecificationRequest
impl Default for ModifyDefaultCreditSpecificationRequest
Source§fn default() -> ModifyDefaultCreditSpecificationRequest
fn default() -> ModifyDefaultCreditSpecificationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyDefaultCreditSpecificationRequest
impl PartialEq for ModifyDefaultCreditSpecificationRequest
Source§fn eq(&self, other: &ModifyDefaultCreditSpecificationRequest) -> bool
fn eq(&self, other: &ModifyDefaultCreditSpecificationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyDefaultCreditSpecificationRequest
Auto Trait Implementations§
impl Freeze for ModifyDefaultCreditSpecificationRequest
impl RefUnwindSafe for ModifyDefaultCreditSpecificationRequest
impl Send for ModifyDefaultCreditSpecificationRequest
impl Sync for ModifyDefaultCreditSpecificationRequest
impl Unpin for ModifyDefaultCreditSpecificationRequest
impl UnwindSafe for ModifyDefaultCreditSpecificationRequest
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