1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Item {
#[serde(default, rename = "Identifiers")]
pub identifiers: Box<crate::models::IdentifierType>,
#[serde(default, rename = "AttributeSets", skip_serializing_if = "Option::is_none")]
pub attribute_sets: Option<Vec<crate::models::AttributeSetListType>>,
#[serde(default, rename = "Relationships", skip_serializing_if = "Option::is_none")]
pub relationships: Option<Vec<crate::models::RelationshipType>>,
#[serde(default, rename = "SalesRankings", skip_serializing_if = "Option::is_none")]
pub sales_rankings: Option<Vec<crate::models::SalesRankType>>,
}
impl Item {
pub fn new(identifiers: crate::models::IdentifierType) -> Item {
Item {
identifiers: Box::new(identifiers),
attribute_sets: None,
relationships: None,
sales_rankings: None,
}
}
}