#[non_exhaustive]pub struct PurchaseOfferingInput {
pub offering_arn: Option<String>,
pub reservation_name: Option<String>,
pub start: Option<String>,
}
Expand description
A request to purchase a offering.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.offering_arn: Option<String>
The Amazon Resource Name (ARN) of the offering.
reservation_name: Option<String>
The name that you want to use for the reservation.
start: Option<String>
The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today’s date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z.
Implementations§
source§impl PurchaseOfferingInput
impl PurchaseOfferingInput
sourcepub fn offering_arn(&self) -> Option<&str>
pub fn offering_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the offering.
sourcepub fn reservation_name(&self) -> Option<&str>
pub fn reservation_name(&self) -> Option<&str>
The name that you want to use for the reservation.
sourcepub fn start(&self) -> Option<&str>
pub fn start(&self) -> Option<&str>
The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today’s date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z.
source§impl PurchaseOfferingInput
impl PurchaseOfferingInput
sourcepub fn builder() -> PurchaseOfferingInputBuilder
pub fn builder() -> PurchaseOfferingInputBuilder
Creates a new builder-style object to manufacture PurchaseOfferingInput
.
Trait Implementations§
source§impl Clone for PurchaseOfferingInput
impl Clone for PurchaseOfferingInput
source§fn clone(&self) -> PurchaseOfferingInput
fn clone(&self) -> PurchaseOfferingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PurchaseOfferingInput
impl Debug for PurchaseOfferingInput
source§impl PartialEq for PurchaseOfferingInput
impl PartialEq for PurchaseOfferingInput
source§fn eq(&self, other: &PurchaseOfferingInput) -> bool
fn eq(&self, other: &PurchaseOfferingInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PurchaseOfferingInput
Auto Trait Implementations§
impl Freeze for PurchaseOfferingInput
impl RefUnwindSafe for PurchaseOfferingInput
impl Send for PurchaseOfferingInput
impl Sync for PurchaseOfferingInput
impl Unpin for PurchaseOfferingInput
impl UnwindSafe for PurchaseOfferingInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more