#[non_exhaustive]pub struct InventoryDeletionSummaryItemBuilder { /* private fields */ }
Expand description
A builder for InventoryDeletionSummaryItem
.
Implementations§
source§impl InventoryDeletionSummaryItemBuilder
impl InventoryDeletionSummaryItemBuilder
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The inventory type version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The inventory type version.
sourcepub fn remaining_count(self, input: i32) -> Self
pub fn remaining_count(self, input: i32) -> Self
The remaining number of items to delete.
sourcepub fn set_remaining_count(self, input: Option<i32>) -> Self
pub fn set_remaining_count(self, input: Option<i32>) -> Self
The remaining number of items to delete.
sourcepub fn get_remaining_count(&self) -> &Option<i32>
pub fn get_remaining_count(&self) -> &Option<i32>
The remaining number of items to delete.
sourcepub fn build(self) -> InventoryDeletionSummaryItem
pub fn build(self) -> InventoryDeletionSummaryItem
Consumes the builder and constructs a InventoryDeletionSummaryItem
.
Trait Implementations§
source§impl Clone for InventoryDeletionSummaryItemBuilder
impl Clone for InventoryDeletionSummaryItemBuilder
source§fn clone(&self) -> InventoryDeletionSummaryItemBuilder
fn clone(&self) -> InventoryDeletionSummaryItemBuilder
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 Default for InventoryDeletionSummaryItemBuilder
impl Default for InventoryDeletionSummaryItemBuilder
source§fn default() -> InventoryDeletionSummaryItemBuilder
fn default() -> InventoryDeletionSummaryItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InventoryDeletionSummaryItemBuilder
impl PartialEq for InventoryDeletionSummaryItemBuilder
source§fn eq(&self, other: &InventoryDeletionSummaryItemBuilder) -> bool
fn eq(&self, other: &InventoryDeletionSummaryItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InventoryDeletionSummaryItemBuilder
Auto Trait Implementations§
impl Freeze for InventoryDeletionSummaryItemBuilder
impl RefUnwindSafe for InventoryDeletionSummaryItemBuilder
impl Send for InventoryDeletionSummaryItemBuilder
impl Sync for InventoryDeletionSummaryItemBuilder
impl Unpin for InventoryDeletionSummaryItemBuilder
impl UnwindSafe for InventoryDeletionSummaryItemBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.