#[non_exhaustive]pub struct UpdateJobShipmentStateInput {
pub job_id: Option<String>,
pub shipment_state: Option<ShipmentState>,
}
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.job_id: Option<String>
The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
shipment_state: Option<ShipmentState>
The state of a device when it is being shipped.
Set to RECEIVED
when the device arrives at your location.
Set to RETURNED
when you have returned the device to Amazon Web Services.
Implementations§
source§impl UpdateJobShipmentStateInput
impl UpdateJobShipmentStateInput
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The job ID of the job whose shipment date you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
sourcepub fn shipment_state(&self) -> Option<&ShipmentState>
pub fn shipment_state(&self) -> Option<&ShipmentState>
The state of a device when it is being shipped.
Set to RECEIVED
when the device arrives at your location.
Set to RETURNED
when you have returned the device to Amazon Web Services.
source§impl UpdateJobShipmentStateInput
impl UpdateJobShipmentStateInput
sourcepub fn builder() -> UpdateJobShipmentStateInputBuilder
pub fn builder() -> UpdateJobShipmentStateInputBuilder
Creates a new builder-style object to manufacture UpdateJobShipmentStateInput
.
Trait Implementations§
source§impl Clone for UpdateJobShipmentStateInput
impl Clone for UpdateJobShipmentStateInput
source§fn clone(&self) -> UpdateJobShipmentStateInput
fn clone(&self) -> UpdateJobShipmentStateInput
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 UpdateJobShipmentStateInput
impl Debug for UpdateJobShipmentStateInput
source§impl PartialEq for UpdateJobShipmentStateInput
impl PartialEq for UpdateJobShipmentStateInput
source§fn eq(&self, other: &UpdateJobShipmentStateInput) -> bool
fn eq(&self, other: &UpdateJobShipmentStateInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateJobShipmentStateInput
Auto Trait Implementations§
impl Freeze for UpdateJobShipmentStateInput
impl RefUnwindSafe for UpdateJobShipmentStateInput
impl Send for UpdateJobShipmentStateInput
impl Sync for UpdateJobShipmentStateInput
impl Unpin for UpdateJobShipmentStateInput
impl UnwindSafe for UpdateJobShipmentStateInput
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.