Struct aws_sdk_outposts::input::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
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 for the order.
payment_term: Option<PaymentTerm>
The payment terms for the order.
Implementations
sourceimpl CreateOrderInput
impl CreateOrderInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateOrder, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateOrder, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateOrder
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateOrderInput
sourceimpl 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) -> Option<&[LineItemRequest]>
pub fn line_items(&self) -> Option<&[LineItemRequest]>
The line items that make up the order.
sourcepub fn payment_option(&self) -> Option<&PaymentOption>
pub fn payment_option(&self) -> Option<&PaymentOption>
The payment option for the order.
sourcepub fn payment_term(&self) -> Option<&PaymentTerm>
pub fn payment_term(&self) -> Option<&PaymentTerm>
The payment terms for the order.
Trait Implementations
sourceimpl Clone for CreateOrderInput
impl Clone for CreateOrderInput
sourcefn clone(&self) -> CreateOrderInput
fn clone(&self) -> CreateOrderInput
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 more
sourceimpl Debug for CreateOrderInput
impl Debug for CreateOrderInput
sourceimpl PartialEq<CreateOrderInput> for CreateOrderInput
impl PartialEq<CreateOrderInput> for CreateOrderInput
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CreateOrderInput) -> bool
fn ne(&self, other: &CreateOrderInput) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more