Struct aws_sdk_ec2::model::PurchaseRequest
source · [−]#[non_exhaustive]pub struct PurchaseRequest { /* private fields */ }
Expand description
Describes a request to purchase Scheduled Instances.
Implementations
sourceimpl PurchaseRequest
impl PurchaseRequest
sourcepub fn instance_count(&self) -> Option<i32>
pub fn instance_count(&self) -> Option<i32>
The number of instances.
sourcepub fn purchase_token(&self) -> Option<&str>
pub fn purchase_token(&self) -> Option<&str>
The purchase token.
sourceimpl PurchaseRequest
impl PurchaseRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PurchaseRequest
.
Trait Implementations
sourceimpl Clone for PurchaseRequest
impl Clone for PurchaseRequest
sourcefn clone(&self) -> PurchaseRequest
fn clone(&self) -> PurchaseRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PurchaseRequest
impl Debug for PurchaseRequest
sourceimpl PartialEq<PurchaseRequest> for PurchaseRequest
impl PartialEq<PurchaseRequest> for PurchaseRequest
sourcefn eq(&self, other: &PurchaseRequest) -> bool
fn eq(&self, other: &PurchaseRequest) -> bool
impl StructuralPartialEq for PurchaseRequest
Auto Trait Implementations
impl RefUnwindSafe for PurchaseRequest
impl Send for PurchaseRequest
impl Sync for PurchaseRequest
impl Unpin for PurchaseRequest
impl UnwindSafe for PurchaseRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more