|
|
@ -32,7 +32,7 @@ struct AnimeBoxesFavorite { |
|
|
|
deserialize = "enforceOriginalImage"
|
|
|
|
))]
|
|
|
|
enforce_original_image: bool,
|
|
|
|
file: AnimeBoxesFavoriteFile,
|
|
|
|
file: AnimeBoxesRemoteResource,
|
|
|
|
has_children: bool,
|
|
|
|
has_comments: bool,
|
|
|
|
has_notes: bool,
|
|
|
@ -42,16 +42,16 @@ struct AnimeBoxesFavorite { |
|
|
|
is_favorite: bool,
|
|
|
|
#[serde(rename(serialize = "isVisible", deserialize = "isVisible"))]
|
|
|
|
is_visible: bool,
|
|
|
|
jpeg: Option<AnimeBoxesFavoriteJpeg>,
|
|
|
|
jpeg: AnimeBoxesRemoteResource,
|
|
|
|
md5: String,
|
|
|
|
parent_id: String,
|
|
|
|
#[serde(rename(serialize = "ppostId", deserialize = "ppostId"))]
|
|
|
|
ppost_id: String,
|
|
|
|
#[serde(rename(serialize = "ppostUrl", deserialize = "ppostUrl"))]
|
|
|
|
ppost_url: String,
|
|
|
|
preview: AnimeBoxesFavoritePreview,
|
|
|
|
preview: AnimeBoxesRemoteResource,
|
|
|
|
rating: String,
|
|
|
|
sample: AnimeBoxesFavoriteSample,
|
|
|
|
sample: AnimeBoxesRemoteResource,
|
|
|
|
score: i16,
|
|
|
|
source: String,
|
|
|
|
tag_artist: String,
|
|
|
@ -63,40 +63,7 @@ struct AnimeBoxesFavorite { |
|
|
|
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
|
|
#[serde(deny_unknown_fields)]
|
|
|
|
struct AnimeBoxesFavoriteFile {
|
|
|
|
#[serde(rename(serialize = "contentType", deserialize = "contentType"))]
|
|
|
|
content_type: i8,
|
|
|
|
ext: String,
|
|
|
|
height: i16,
|
|
|
|
url: String,
|
|
|
|
width: i16,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
|
|
#[serde(deny_unknown_fields)]
|
|
|
|
struct AnimeBoxesFavoriteJpeg {
|
|
|
|
#[serde(rename(serialize = "contentType", deserialize = "contentType"))]
|
|
|
|
content_type: i8,
|
|
|
|
ext: String,
|
|
|
|
height: i16,
|
|
|
|
url: String,
|
|
|
|
width: i16,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
|
|
#[serde(deny_unknown_fields)]
|
|
|
|
struct AnimeBoxesFavoritePreview {
|
|
|
|
#[serde(rename(serialize = "contentType", deserialize = "contentType"))]
|
|
|
|
content_type: i8,
|
|
|
|
ext: String,
|
|
|
|
height: i16,
|
|
|
|
url: String,
|
|
|
|
width: i16,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Serialize, Deserialize, Debug)]
|
|
|
|
#[serde(deny_unknown_fields)]
|
|
|
|
struct AnimeBoxesFavoriteSample {
|
|
|
|
struct AnimeBoxesRemoteResource {
|
|
|
|
#[serde(rename(serialize = "contentType", deserialize = "contentType"))]
|
|
|
|
content_type: i8,
|
|
|
|
ext: String,
|
|
|
|