amazon_spapi/models/fulfillment_inbound_v0/
prep_instruction.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
17pub enum PrepInstruction {
18 #[serde(rename = "Polybagging")]
19 Polybagging,
20 #[serde(rename = "BubbleWrapping")]
21 BubbleWrapping,
22 #[serde(rename = "Taping")]
23 Taping,
24 #[serde(rename = "BlackShrinkWrapping")]
25 BlackShrinkWrapping,
26 #[serde(rename = "Labeling")]
27 Labeling,
28 #[serde(rename = "HangGarment")]
29 HangGarment,
30 #[serde(rename = "SetCreation")]
31 SetCreation,
32 #[serde(rename = "Boxing")]
33 Boxing,
34 #[serde(rename = "RemoveFromHanger")]
35 RemoveFromHanger,
36 #[serde(rename = "Debundle")]
37 Debundle,
38 #[serde(rename = "SuffocationStickering")]
39 SuffocationStickering,
40 #[serde(rename = "CapSealing")]
41 CapSealing,
42 #[serde(rename = "SetStickering")]
43 SetStickering,
44 #[serde(rename = "BlankStickering")]
45 BlankStickering,
46 #[serde(rename = "ShipsInProductPackaging")]
47 ShipsInProductPackaging,
48 #[serde(rename = "NoPrep")]
49 NoPrep,
50
51}
52
53impl std::fmt::Display for PrepInstruction {
54 fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
55 match self {
56 Self::Polybagging => write!(f, "Polybagging"),
57 Self::BubbleWrapping => write!(f, "BubbleWrapping"),
58 Self::Taping => write!(f, "Taping"),
59 Self::BlackShrinkWrapping => write!(f, "BlackShrinkWrapping"),
60 Self::Labeling => write!(f, "Labeling"),
61 Self::HangGarment => write!(f, "HangGarment"),
62 Self::SetCreation => write!(f, "SetCreation"),
63 Self::Boxing => write!(f, "Boxing"),
64 Self::RemoveFromHanger => write!(f, "RemoveFromHanger"),
65 Self::Debundle => write!(f, "Debundle"),
66 Self::SuffocationStickering => write!(f, "SuffocationStickering"),
67 Self::CapSealing => write!(f, "CapSealing"),
68 Self::SetStickering => write!(f, "SetStickering"),
69 Self::BlankStickering => write!(f, "BlankStickering"),
70 Self::ShipsInProductPackaging => write!(f, "ShipsInProductPackaging"),
71 Self::NoPrep => write!(f, "NoPrep"),
72 }
73 }
74}
75
76impl Default for PrepInstruction {
77 fn default() -> PrepInstruction {
78 Self::Polybagging
79 }
80}
81