pub struct OrderFulfillmentUpdatedUpdate {
pub fulfillment_uid: String,
pub old_state: Option<OrderFulfillmentState>,
pub new_state: OrderFulfillmentState,
}Expand description
This is a model struct for OrderFulfillmentUpdatedUpdate type.
Fields§
§fulfillment_uid: StringA unique ID that identifies the fulfillment only within this order.
old_state: Option<OrderFulfillmentState>The state of the fulfillment before the change. The state is not populated if the fulfillment is created with this new Order version.
new_state: OrderFulfillmentStateThe state of the fulfillment after the change. The state might be equal to old_state if a non-state field was changed on the fulfillment (such as the tracking number).
Trait Implementations§
Source§impl Clone for OrderFulfillmentUpdatedUpdate
impl Clone for OrderFulfillmentUpdatedUpdate
Source§fn clone(&self) -> OrderFulfillmentUpdatedUpdate
fn clone(&self) -> OrderFulfillmentUpdatedUpdate
Returns a duplicate 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<'de> Deserialize<'de> for OrderFulfillmentUpdatedUpdate
impl<'de> Deserialize<'de> for OrderFulfillmentUpdatedUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OrderFulfillmentUpdatedUpdate
impl PartialEq for OrderFulfillmentUpdatedUpdate
Source§fn eq(&self, other: &OrderFulfillmentUpdatedUpdate) -> bool
fn eq(&self, other: &OrderFulfillmentUpdatedUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OrderFulfillmentUpdatedUpdate
impl StructuralPartialEq for OrderFulfillmentUpdatedUpdate
Auto Trait Implementations§
impl Freeze for OrderFulfillmentUpdatedUpdate
impl RefUnwindSafe for OrderFulfillmentUpdatedUpdate
impl Send for OrderFulfillmentUpdatedUpdate
impl Sync for OrderFulfillmentUpdatedUpdate
impl Unpin for OrderFulfillmentUpdatedUpdate
impl UnwindSafe for OrderFulfillmentUpdatedUpdate
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