Struct aws_sdk_outposts::operation::create_order::CreateOrderInput
source · #[non_exhaustive]pub struct CreateOrderInput {
pub outpost_identifier: Option<String>,
pub line_items: Option<Vec<LineItemRequest>>,
pub payment_option: Option<PaymentOption>,
pub payment_term: Option<PaymentTerm>,
}
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.outpost_identifier: Option<String>
The ID or the Amazon Resource Name (ARN) of the Outpost.
line_items: Option<Vec<LineItemRequest>>
The line items that make up the order.
payment_option: Option<PaymentOption>
The payment option.
payment_term: Option<PaymentTerm>
The payment terms.
Implementations§
source§impl CreateOrderInput
impl CreateOrderInput
sourcepub fn outpost_identifier(&self) -> Option<&str>
pub fn outpost_identifier(&self) -> Option<&str>
The ID or the Amazon Resource Name (ARN) of the Outpost.
sourcepub fn line_items(&self) -> &[LineItemRequest]
pub fn line_items(&self) -> &[LineItemRequest]
The line items that make up the order.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .line_items.is_none()
.
sourcepub fn payment_option(&self) -> Option<&PaymentOption>
pub fn payment_option(&self) -> Option<&PaymentOption>
The payment option.
sourcepub fn payment_term(&self) -> Option<&PaymentTerm>
pub fn payment_term(&self) -> Option<&PaymentTerm>
The payment terms.
source§impl CreateOrderInput
impl CreateOrderInput
sourcepub fn builder() -> CreateOrderInputBuilder
pub fn builder() -> CreateOrderInputBuilder
Creates a new builder-style object to manufacture CreateOrderInput
.
Trait Implementations§
source§impl Clone for CreateOrderInput
impl Clone for CreateOrderInput
source§fn clone(&self) -> CreateOrderInput
fn clone(&self) -> CreateOrderInput
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 Debug for CreateOrderInput
impl Debug for CreateOrderInput
source§impl PartialEq for CreateOrderInput
impl PartialEq for CreateOrderInput
source§fn eq(&self, other: &CreateOrderInput) -> bool
fn eq(&self, other: &CreateOrderInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateOrderInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateOrderInput
impl Send for CreateOrderInput
impl Sync for CreateOrderInput
impl Unpin for CreateOrderInput
impl UnwindSafe for CreateOrderInput
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
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>
Creates a shared type from an unshared type.