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
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Data {
  #[serde(rename = "all_awardings")]
  pub all_awardings: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "allow_live_comments")]
  pub allow_live_comments: Option<bool>,
  pub approved: Option<bool>,
  #[serde(rename = "approved_at_utc")]
  pub approved_at_utc: Option<::serde_json::Value>,
  #[serde(rename = "approved_by")]
  pub approved_by: Option<::serde_json::Value>,
  pub archived: Option<bool>,
  pub author: Option<String>,
  #[serde(rename = "author_flair_background_color")]
  pub author_flair_background_color: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_css_class")]
  pub author_flair_css_class: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_richtext")]
  pub author_flair_richtext: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "author_flair_template_id")]
  pub author_flair_template_id: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_text")]
  pub author_flair_text: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_text_color")]
  pub author_flair_text_color: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_type")]
  pub author_flair_type: Option<String>,
  #[serde(rename = "author_fullname")]
  pub author_fullname: Option<String>,
  #[serde(rename = "author_patreon_flair")]
  pub author_patreon_flair: Option<bool>,
  #[serde(rename = "author_premium")]
  pub author_premium: Option<bool>,
  pub awarders: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "ban_note")]
  pub ban_note: Option<String>,
  #[serde(rename = "banned_at_utc")]
  pub banned_at_utc: Option<i64>,
  #[serde(rename = "banned_by")]
  pub banned_by: Option<::serde_json::Value>,
  #[serde(rename = "can_gild")]
  pub can_gild: Option<bool>,
  #[serde(rename = "can_mod_post")]
  pub can_mod_post: Option<bool>,
  pub category: Option<::serde_json::Value>,
  pub clicked: Option<bool>,
  #[serde(rename = "content_categories")]
  pub content_categories: Option<::serde_json::Value>,
  #[serde(rename = "contest_mode")]
  pub contest_mode: Option<bool>,
  pub created: Option<f64>,
  #[serde(rename = "created_utc")]
  pub created_utc: Option<f64>,
  #[serde(rename = "crosspost_parent")]
  pub crosspost_parent: Option<String>,
  #[serde(rename = "crosspost_parent_list")]
  #[serde(default)]
  pub crosspost_parent_list: Option<Vec<CrosspostParentList>>,
  #[serde(rename = "discussion_type")]
  pub discussion_type: Option<::serde_json::Value>,
  pub distinguished: Option<::serde_json::Value>,
  pub domain: Option<String>,
  pub downs: Option<i64>,
  pub edited: Option<::serde_json::Value>,
  pub gilded: Option<i64>,
  pub gildings: Option<Gildings2>,
  pub hidden: Option<bool>,
  #[serde(rename = "hide_score")]
  pub hide_score: Option<bool>,
  pub id: Option<String>,
  #[serde(rename = "ignore_reports")]
  pub ignore_reports: Option<bool>,
  #[serde(rename = "is_crosspostable")]
  pub is_crosspostable: Option<bool>,
  #[serde(rename = "is_meta")]
  pub is_meta: Option<bool>,
  #[serde(rename = "is_original_content")]
  pub is_original_content: Option<bool>,
  #[serde(rename = "is_reddit_media_domain")]
  pub is_reddit_media_domain: Option<bool>,
  #[serde(rename = "is_robot_indexable")]
  pub is_robot_indexable: Option<bool>,
  #[serde(rename = "is_self")]
  pub is_self: Option<bool>,
  #[serde(rename = "is_video")]
  pub is_video: Option<bool>,
  pub likes: Option<bool>,
  #[serde(rename = "link_flair_background_color")]
  pub link_flair_background_color: Option<String>,
  #[serde(rename = "link_flair_css_class")]
  pub link_flair_css_class: Option<::serde_json::Value>,
  #[serde(rename = "link_flair_richtext")]
  pub link_flair_richtext: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "link_flair_text")]
  pub link_flair_text: Option<::serde_json::Value>,
  #[serde(rename = "link_flair_text_color")]
  pub link_flair_text_color: Option<String>,
  #[serde(rename = "link_flair_type")]
  pub link_flair_type: Option<String>,
  pub locked: Option<bool>,
  pub media: Option<::serde_json::Value>,
  #[serde(rename = "media_embed")]
  pub media_embed: Option<MediaEmbed2>,
  #[serde(rename = "media_only")]
  pub media_only: Option<bool>,
  #[serde(rename = "mod_note")]
  pub mod_note: Option<String>,
  #[serde(rename = "mod_reason_by")]
  pub mod_reason_by: Option<String>,
  #[serde(rename = "mod_reason_title")]
  pub mod_reason_title: Option<::serde_json::Value>,
  #[serde(rename = "mod_reports")]
  pub mod_reports: Option<Vec<::serde_json::Value>>,
  pub name: Option<String>,
  #[serde(rename = "no_follow")]
  pub no_follow: Option<bool>,
  #[serde(rename = "num_comments")]
  pub num_comments: Option<i64>,
  #[serde(rename = "num_crossposts")]
  pub num_crossposts: Option<i64>,
  #[serde(rename = "num_reports")]
  pub num_reports: Option<i64>,
  #[serde(rename = "over_18")]
  pub over18: Option<bool>,
  #[serde(rename = "parent_whitelist_status")]
  pub parent_whitelist_status: Option<::serde_json::Value>,
  pub permalink: Option<String>,
  pub pinned: Option<bool>,
  pub pwls: Option<::serde_json::Value>,
  pub quarantine: Option<bool>,
  #[serde(rename = "removal_reason")]
  pub removal_reason: Option<::serde_json::Value>,
  pub removed: Option<bool>,
  #[serde(rename = "removed_by")]
  pub removed_by: Option<String>,
  #[serde(rename = "removed_by_category")]
  pub removed_by_category: Option<String>,
  #[serde(rename = "report_reasons")]
  pub report_reasons: Option<Vec<::serde_json::Value>>,
  pub saved: Option<bool>,
  pub score: Option<i64>,
  #[serde(rename = "secure_media")]
  pub secure_media: Option<::serde_json::Value>,
  #[serde(rename = "secure_media_embed")]
  pub secure_media_embed: Option<SecureMediaEmbed2>,
  pub selftext: Option<String>,
  #[serde(rename = "selftext_html")]
  pub selftext_html: Option<String>,
  #[serde(rename = "send_replies")]
  pub send_replies: Option<bool>,
  pub spam: Option<bool>,
  pub spoiler: Option<bool>,
  pub stickied: Option<bool>,
  pub subreddit: Option<String>,
  #[serde(rename = "subreddit_id")]
  pub subreddit_id: Option<String>,
  #[serde(rename = "subreddit_name_prefixed")]
  pub subreddit_name_prefixed: Option<String>,
  #[serde(rename = "subreddit_subscribers")]
  pub subreddit_subscribers: Option<i64>,
  #[serde(rename = "subreddit_type")]
  pub subreddit_type: Option<String>,
  #[serde(rename = "suggested_sort")]
  pub suggested_sort: Option<::serde_json::Value>,
  pub thumbnail: Option<String>,
  #[serde(rename = "thumbnail_height")]
  pub thumbnail_height: Option<i64>,
  #[serde(rename = "thumbnail_width")]
  pub thumbnail_width: Option<i64>,
  pub title: Option<String>,
  #[serde(rename = "top_awarded_type")]
  pub top_awarded_type: Option<::serde_json::Value>,
  #[serde(rename = "total_awards_received")]
  pub total_awards_received: Option<i64>,
  #[serde(rename = "treatment_tags")]
  pub treatment_tags: Option<Vec<::serde_json::Value>>,
  pub ups: Option<i64>,
  #[serde(rename = "upvote_ratio")]
  pub upvote_ratio: Option<f64>,
  pub url: Option<String>,
  #[serde(rename = "url_overridden_by_dest")]
  pub url_overridden_by_dest: Option<String>,
  #[serde(rename = "user_reports")]
  pub user_reports: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "view_count")]
  pub view_count: Option<::serde_json::Value>,
  pub visited: Option<bool>,
  #[serde(rename = "whitelist_status")]
  pub whitelist_status: Option<::serde_json::Value>,
  pub wls: Option<::serde_json::Value>,
  #[serde(rename = "rte_mode")]
  pub rte_mode: Option<String>,
  #[serde(rename = "user_reports_dismissed")]
  #[serde(default)]
  pub user_reports_dismissed: Option<Vec<::serde_json::Value>>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CrosspostParentList {
  #[serde(rename = "all_awardings")]
  pub all_awardings: Option<Vec<AllAwarding>>,
  #[serde(rename = "allow_live_comments")]
  pub allow_live_comments: Option<bool>,
  #[serde(rename = "approved_at_utc")]
  pub approved_at_utc: Option<::serde_json::Value>,
  #[serde(rename = "approved_by")]
  pub approved_by: Option<::serde_json::Value>,
  pub archived: Option<bool>,
  pub author: Option<String>,
  #[serde(rename = "author_flair_background_color")]
  pub author_flair_background_color: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_css_class")]
  pub author_flair_css_class: Option<::serde_json::Value>,
  #[serde(rename = "author_flair_richtext")]
  pub author_flair_richtext: Option<Vec<AuthorFlairRichtext>>,
  #[serde(rename = "author_flair_template_id")]
  pub author_flair_template_id: Option<String>,
  #[serde(rename = "author_flair_text")]
  pub author_flair_text: Option<String>,
  #[serde(rename = "author_flair_text_color")]
  pub author_flair_text_color: Option<String>,
  #[serde(rename = "author_flair_type")]
  pub author_flair_type: Option<String>,
  #[serde(rename = "author_fullname")]
  pub author_fullname: Option<String>,
  #[serde(rename = "author_patreon_flair")]
  pub author_patreon_flair: Option<bool>,
  #[serde(rename = "author_premium")]
  pub author_premium: Option<bool>,
  pub awarders: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "banned_at_utc")]
  pub banned_at_utc: Option<::serde_json::Value>,
  #[serde(rename = "banned_by")]
  pub banned_by: Option<::serde_json::Value>,
  #[serde(rename = "can_gild")]
  pub can_gild: Option<bool>,
  #[serde(rename = "can_mod_post")]
  pub can_mod_post: Option<bool>,
  pub category: Option<::serde_json::Value>,
  pub clicked: Option<bool>,
  #[serde(rename = "content_categories")]
  pub content_categories: Option<::serde_json::Value>,
  #[serde(rename = "contest_mode")]
  pub contest_mode: Option<bool>,
  pub created: Option<f64>,
  #[serde(rename = "created_utc")]
  pub created_utc: Option<f64>,
  #[serde(rename = "discussion_type")]
  pub discussion_type: Option<::serde_json::Value>,
  pub distinguished: Option<::serde_json::Value>,
  pub domain: Option<String>,
  pub downs: Option<i64>,
  pub edited: Option<::serde_json::Value>,
  pub gilded: Option<i64>,
  pub gildings: Option<Gildings>,
  pub hidden: Option<bool>,
  #[serde(rename = "hide_score")]
  pub hide_score: Option<bool>,
  pub id: Option<String>,
  #[serde(rename = "is_crosspostable")]
  pub is_crosspostable: Option<bool>,
  #[serde(rename = "is_meta")]
  pub is_meta: Option<bool>,
  #[serde(rename = "is_original_content")]
  pub is_original_content: Option<bool>,
  #[serde(rename = "is_reddit_media_domain")]
  pub is_reddit_media_domain: Option<bool>,
  #[serde(rename = "is_robot_indexable")]
  pub is_robot_indexable: Option<bool>,
  #[serde(rename = "is_self")]
  pub is_self: Option<bool>,
  #[serde(rename = "is_video")]
  pub is_video: Option<bool>,
  pub likes: Option<::serde_json::Value>,
  #[serde(rename = "link_flair_background_color")]
  pub link_flair_background_color: Option<String>,
  #[serde(rename = "link_flair_css_class")]
  pub link_flair_css_class: Option<String>,
  #[serde(rename = "link_flair_richtext")]
  pub link_flair_richtext: Option<Vec<LinkFlairRichtext>>,
  #[serde(rename = "link_flair_text")]
  pub link_flair_text: Option<String>,
  #[serde(rename = "link_flair_text_color")]
  pub link_flair_text_color: Option<String>,
  #[serde(rename = "link_flair_type")]
  pub link_flair_type: Option<String>,
  pub locked: Option<bool>,
  pub media: Option<Media>,
  #[serde(rename = "media_embed")]
  pub media_embed: Option<MediaEmbed>,
  #[serde(rename = "media_only")]
  pub media_only: Option<bool>,
  #[serde(rename = "mod_note")]
  pub mod_note: Option<::serde_json::Value>,
  #[serde(rename = "mod_reason_by")]
  pub mod_reason_by: Option<::serde_json::Value>,
  #[serde(rename = "mod_reason_title")]
  pub mod_reason_title: Option<::serde_json::Value>,
  #[serde(rename = "mod_reports")]
  pub mod_reports: Option<Vec<::serde_json::Value>>,
  pub name: Option<String>,
  #[serde(rename = "no_follow")]
  pub no_follow: Option<bool>,
  #[serde(rename = "num_comments")]
  pub num_comments: Option<i64>,
  #[serde(rename = "num_crossposts")]
  pub num_crossposts: Option<i64>,
  #[serde(rename = "num_reports")]
  pub num_reports: Option<::serde_json::Value>,
  #[serde(rename = "over_18")]
  pub over18: Option<bool>,
  #[serde(rename = "parent_whitelist_status")]
  pub parent_whitelist_status: Option<String>,
  pub permalink: Option<String>,
  pub pinned: Option<bool>,
  pub pwls: Option<i64>,
  pub quarantine: Option<bool>,
  #[serde(rename = "removal_reason")]
  pub removal_reason: Option<::serde_json::Value>,
  #[serde(rename = "removed_by")]
  pub removed_by: Option<::serde_json::Value>,
  #[serde(rename = "removed_by_category")]
  pub removed_by_category: Option<::serde_json::Value>,
  #[serde(rename = "report_reasons")]
  pub report_reasons: Option<::serde_json::Value>,
  pub saved: Option<bool>,
  pub score: Option<i64>,
  #[serde(rename = "secure_media")]
  pub secure_media: Option<SecureMedia>,
  #[serde(rename = "secure_media_embed")]
  pub secure_media_embed: Option<SecureMediaEmbed>,
  pub selftext: Option<String>,
  #[serde(rename = "selftext_html")]
  pub selftext_html: Option<String>,
  #[serde(rename = "send_replies")]
  pub send_replies: Option<bool>,
  pub spoiler: Option<bool>,
  pub stickied: Option<bool>,
  pub subreddit: Option<String>,
  #[serde(rename = "subreddit_id")]
  pub subreddit_id: Option<String>,
  #[serde(rename = "subreddit_name_prefixed")]
  pub subreddit_name_prefixed: Option<String>,
  #[serde(rename = "subreddit_subscribers")]
  pub subreddit_subscribers: Option<i64>,
  #[serde(rename = "subreddit_type")]
  pub subreddit_type: Option<String>,
  #[serde(rename = "suggested_sort")]
  pub suggested_sort: Option<::serde_json::Value>,
  pub thumbnail: Option<String>,
  #[serde(rename = "thumbnail_height")]
  pub thumbnail_height: Option<i64>,
  #[serde(rename = "thumbnail_width")]
  pub thumbnail_width: Option<i64>,
  pub title: Option<String>,
  #[serde(rename = "top_awarded_type")]
  pub top_awarded_type: Option<::serde_json::Value>,
  #[serde(rename = "total_awards_received")]
  pub total_awards_received: Option<i64>,
  #[serde(rename = "treatment_tags")]
  pub treatment_tags: Option<Vec<::serde_json::Value>>,
  pub ups: Option<i64>,
  #[serde(rename = "upvote_ratio")]
  pub upvote_ratio: Option<f64>,
  pub url: Option<String>,
  #[serde(rename = "user_reports")]
  pub user_reports: Option<Vec<::serde_json::Value>>,
  #[serde(rename = "view_count")]
  pub view_count: Option<::serde_json::Value>,
  pub visited: Option<bool>,
  #[serde(rename = "whitelist_status")]
  pub whitelist_status: Option<String>,
  pub wls: Option<i64>,
  #[serde(rename = "post_hint")]
  pub post_hint: Option<String>,
  pub preview: Option<Preview>,
  #[serde(rename = "url_overridden_by_dest")]
  pub url_overridden_by_dest: Option<String>,
  #[serde(rename = "gallery_data")]
  pub gallery_data: Option<GalleryData>,
  #[serde(rename = "is_gallery")]
  pub is_gallery: Option<bool>,
  #[serde(rename = "media_metadata")]
  pub media_metadata: Option<MediaMetadata>,
  #[serde(rename = "link_flair_template_id")]
  pub link_flair_template_id: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct AllAwarding {
  #[serde(rename = "award_sub_type")]
  pub award_sub_type: Option<String>,
  #[serde(rename = "award_type")]
  pub award_type: Option<String>,
  #[serde(rename = "awardings_required_to_grant_benefits")]
  pub awardings_required_to_grant_benefits: Option<::serde_json::Value>,
  #[serde(rename = "coin_price")]
  pub coin_price: Option<i64>,
  #[serde(rename = "coin_reward")]
  pub coin_reward: Option<i64>,
  pub count: Option<i64>,
  #[serde(rename = "days_of_drip_extension")]
  pub days_of_drip_extension: Option<i64>,
  #[serde(rename = "days_of_premium")]
  pub days_of_premium: Option<i64>,
  pub description: Option<String>,
  #[serde(rename = "end_date")]
  pub end_date: Option<::serde_json::Value>,
  #[serde(rename = "giver_coin_reward")]
  pub giver_coin_reward: Option<i64>,
  #[serde(rename = "icon_format")]
  pub icon_format: Option<String>,
  #[serde(rename = "icon_height")]
  pub icon_height: Option<i64>,
  #[serde(rename = "icon_url")]
  pub icon_url: Option<String>,
  #[serde(rename = "icon_width")]
  pub icon_width: Option<i64>,
  pub id: Option<String>,
  #[serde(rename = "is_enabled")]
  pub is_enabled: Option<bool>,
  #[serde(rename = "is_new")]
  pub is_new: Option<bool>,
  pub name: Option<String>,
  #[serde(rename = "penny_donate")]
  pub penny_donate: Option<i64>,
  #[serde(rename = "penny_price")]
  pub penny_price: Option<i64>,
  #[serde(rename = "resized_icons")]
  pub resized_icons: Option<Vec<ResizedIcon>>,
  #[serde(rename = "resized_static_icons")]
  pub resized_static_icons: Option<Vec<ResizedStaticIcon>>,
  #[serde(rename = "start_date")]
  pub start_date: Option<::serde_json::Value>,
  #[serde(rename = "static_icon_height")]
  pub static_icon_height: Option<i64>,
  #[serde(rename = "static_icon_url")]
  pub static_icon_url: Option<String>,
  #[serde(rename = "static_icon_width")]
  pub static_icon_width: Option<i64>,
  #[serde(rename = "subreddit_coin_reward")]
  pub subreddit_coin_reward: Option<i64>,
  #[serde(rename = "subreddit_id")]
  pub subreddit_id: Option<::serde_json::Value>,
  #[serde(rename = "tiers_by_required_awardings")]
  pub tiers_by_required_awardings: Option<::serde_json::Value>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ResizedIcon {
  pub height: Option<i64>,
  pub url: Option<String>,
  pub width: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ResizedStaticIcon {
  pub height: Option<i64>,
  pub url: Option<String>,
  pub width: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct AuthorFlairRichtext {
  pub e: Option<String>,
  pub t: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Gildings {}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct LinkFlairRichtext {
  pub e: Option<String>,
  pub t: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Media {
  #[serde(rename = "reddit_video")]
  pub reddit_video: Option<RedditVideo>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RedditVideo {
  #[serde(rename = "dash_url")]
  pub dash_url: Option<String>,
  pub duration: Option<i64>,
  #[serde(rename = "fallback_url")]
  pub fallback_url: Option<String>,
  pub height: Option<i64>,
  #[serde(rename = "hls_url")]
  pub hls_url: Option<String>,
  #[serde(rename = "is_gif")]
  pub is_gif: Option<bool>,
  #[serde(rename = "scrubber_media_url")]
  pub scrubber_media_url: Option<String>,
  #[serde(rename = "transcoding_status")]
  pub transcoding_status: Option<String>,
  pub width: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct MediaEmbed {}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SecureMedia {
  #[serde(rename = "reddit_video")]
  pub reddit_video: Option<RedditVideo2>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RedditVideo2 {
  #[serde(rename = "dash_url")]
  pub dash_url: Option<String>,
  pub duration: Option<i64>,
  #[serde(rename = "fallback_url")]
  pub fallback_url: Option<String>,
  pub height: Option<i64>,
  #[serde(rename = "hls_url")]
  pub hls_url: Option<String>,
  #[serde(rename = "is_gif")]
  pub is_gif: Option<bool>,
  #[serde(rename = "scrubber_media_url")]
  pub scrubber_media_url: Option<String>,
  #[serde(rename = "transcoding_status")]
  pub transcoding_status: Option<String>,
  pub width: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SecureMediaEmbed {}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Preview {
  pub enabled: Option<bool>,
  pub images: Option<Vec<Image>>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Image {
  pub id: Option<String>,
  pub resolutions: Option<Vec<Resolution>>,
  pub source: Option<Source>,
  pub variants: Option<Variants>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Resolution {
  pub height: Option<i64>,
  pub url: Option<String>,
  pub width: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Source {
  pub height: Option<i64>,
  pub url: Option<String>,
  pub width: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Variants {}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct GalleryData {
  pub items: Option<Vec<Item>>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Item {
  pub id: Option<i64>,
  #[serde(rename = "media_id")]
  pub media_id: Option<String>,
  pub caption: Option<String>,
  #[serde(rename = "outbound_url")]
  pub outbound_url: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct MediaMetadata {
  #[serde(rename = "53q1nl584nl51")]
  pub n53_q1_nl584_nl51: Option<N53Q1Nl584Nl51>,
  #[serde(rename = "6kaiqj584nl51")]
  pub n6_kaiqj584_nl51: Option<N6Kaiqj584Nl51>,
  #[serde(rename = "g2q0nl584nl51")]
  pub g2_q0_nl584_nl51: Option<G2Q0Nl584Nl51>,
  #[serde(rename = "mpu09l584nl51")]
  pub mpu09_l584_nl51: Option<Mpu09L584Nl51>,
  #[serde(rename = "y7kcin584nl51")]
  pub y7_kcin584_nl51: Option<Y7Kcin584Nl51>,
  #[serde(rename = "4oc2wkxf6ht51")]
  pub n4_oc2_wkxf6_ht51: Option<N4Oc2Wkxf6Ht51>,
  #[serde(rename = "7uwb8lxf6ht51")]
  pub n7_uwb8_lxf6_ht51: Option<N7Uwb8Lxf6Ht51>,
  #[serde(rename = "acxk2nxf6ht51")]
  pub acxk2_nxf6_ht51: Option<Acxk2Nxf6Ht51>,
  #[serde(rename = "hywimkxf6ht51")]
  pub hywimkxf6_ht51: Option<Hywimkxf6Ht51>,
  #[serde(rename = "d36e7dbwdht51")]
  pub d36_e7_dbwdht51: Option<D36E7Dbwdht51>,
  #[serde(rename = "ho8agebwdht51")]
  pub ho8_agebwdht51: Option<Ho8Agebwdht51>,
  #[serde(rename = "vls1vcbwdht51")]
  pub vls1_vcbwdht51: Option<Vls1Vcbwdht51>,
  pub vwybkdbwdht51: Option<Vwybkdbwdht51>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct N53Q1Nl584Nl51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P>>,
  pub s: Option<S>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct N6Kaiqj584Nl51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P2>>,
  pub s: Option<S2>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P2 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S2 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct G2Q0Nl584Nl51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P3>>,
  pub s: Option<S3>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P3 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S3 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Mpu09L584Nl51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P4>>,
  pub s: Option<S4>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P4 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S4 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Y7Kcin584Nl51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P5>>,
  pub s: Option<S5>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P5 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S5 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct N4Oc2Wkxf6Ht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P6>>,
  pub s: Option<S6>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P6 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S6 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct N7Uwb8Lxf6Ht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P7>>,
  pub s: Option<S7>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P7 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S7 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Acxk2Nxf6Ht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P8>>,
  pub s: Option<S8>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P8 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S8 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Hywimkxf6Ht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P9>>,
  pub s: Option<S9>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P9 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S9 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct D36E7Dbwdht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P10>>,
  pub s: Option<S10>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P10 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S10 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Ho8Agebwdht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P11>>,
  pub s: Option<S11>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P11 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S11 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Vls1Vcbwdht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P12>>,
  pub s: Option<S12>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P12 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S12 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Vwybkdbwdht51 {
  pub e: Option<String>,
  pub id: Option<String>,
  pub m: Option<String>,
  pub p: Option<Vec<P13>>,
  pub s: Option<S13>,
  pub status: Option<String>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct P13 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct S13 {
  pub u: Option<String>,
  pub x: Option<i64>,
  pub y: Option<i64>,
}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Gildings2 {}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct MediaEmbed2 {}

#[derive(Default, Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SecureMediaEmbed2 {}