Struct aws_sdk_outposts::types::LineItemRequest
source · #[non_exhaustive]pub struct LineItemRequest {
pub catalog_item_id: Option<String>,
pub quantity: Option<i32>,
}
Expand description
Information about a line item request.
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.catalog_item_id: Option<String>
The ID of the catalog item.
quantity: Option<i32>
The quantity of a line item request.
Implementations§
source§impl LineItemRequest
impl LineItemRequest
sourcepub fn builder() -> LineItemRequestBuilder
pub fn builder() -> LineItemRequestBuilder
Creates a new builder-style object to manufacture LineItemRequest
.
Trait Implementations§
source§impl Clone for LineItemRequest
impl Clone for LineItemRequest
source§fn clone(&self) -> LineItemRequest
fn clone(&self) -> LineItemRequest
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 LineItemRequest
impl Debug for LineItemRequest
source§impl PartialEq for LineItemRequest
impl PartialEq for LineItemRequest
source§fn eq(&self, other: &LineItemRequest) -> bool
fn eq(&self, other: &LineItemRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LineItemRequest
Auto Trait Implementations§
impl RefUnwindSafe for LineItemRequest
impl Send for LineItemRequest
impl Sync for LineItemRequest
impl Unpin for LineItemRequest
impl UnwindSafe for LineItemRequest
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.