@@ -35,7 +35,7 @@ pub struct Feature {
35
35
#[ derive( Debug , Deserialize , Serialize ) ]
36
36
pub struct StreakCounter {
37
37
pub streakCount : i32 ,
38
- pub daysSkipped : i32 ,
38
+ pub daysSkipped : Option < i32 > ,
39
39
pub currentDayCompleted : bool ,
40
40
pub __typename : String ,
41
41
}
@@ -57,18 +57,18 @@ pub struct UserStatus {
57
57
pub isSuperuser : bool ,
58
58
pub isMockUser : bool ,
59
59
pub isTranslator : bool ,
60
- pub isPremium : bool ,
60
+ pub isPremium : Option < bool > ,
61
61
pub isVerified : bool ,
62
62
pub checkedInToday : bool ,
63
63
pub username : String ,
64
- pub realName : String ,
65
- pub avatar : String ,
64
+ pub realName : Option < String > ,
65
+ pub avatar : Option < String > ,
66
66
pub optedIn : bool ,
67
67
pub requestRegion : String ,
68
- pub region : String ,
68
+ pub region : Option < String > ,
69
69
pub activeSessionId : i32 ,
70
70
pub permissions : Vec < String > ,
71
- pub notificationStatus : NotificationStatus ,
71
+ pub notificationStatus : Option < NotificationStatus > ,
72
72
pub completedFeatureGuides : Vec < String > ,
73
73
pub __typename : String ,
74
74
}
@@ -77,7 +77,7 @@ pub struct UserStatus {
77
77
#[ derive( Debug , Deserialize , Serialize ) ]
78
78
pub struct GlobalData {
79
79
pub feature : Feature ,
80
- pub streakCounter : StreakCounter ,
80
+ pub streakCounter : Option < StreakCounter > ,
81
81
pub currentTimestamp : f64 ,
82
82
pub userStatus : UserStatus ,
83
83
pub siteRegion : String ,
0 commit comments