@@ -7,7 +7,6 @@ extern crate cmn;
77extern crate "rustc-serialize" as rustc_serialize;
88extern crate "yup-oauth2" as oauth2;
99
10- use std:: default:: Default ;
1110use std:: collections:: HashMap ;
1211
1312/// There is no detailed description.
@@ -292,15 +291,15 @@ pub struct ChannelSettings {
292291#[ derive( RustcEncodable , RustcDecodable , Default , Clone ) ]
293292pub struct VideoStatistics {
294293 /// The number of comments for the video.
295- pub commentCount : Option < String > ,
294+ pub commentCount : Option < i64 > ,
296295 /// The number of times the video has been viewed.
297- pub viewCount : Option < String > ,
296+ pub viewCount : Option < i64 > ,
298297 /// The number of users who currently have the video marked as a favorite video.
299- pub favoriteCount : Option < String > ,
298+ pub favoriteCount : Option < i64 > ,
300299 /// The number of users who have indicated that they disliked the video by giving it a negative rating.
301- pub dislikeCount : Option < String > ,
300+ pub dislikeCount : Option < i64 > ,
302301 /// The number of users who have indicated that they liked the video by giving it a positive rating.
303- pub likeCount : Option < String > ,
302+ pub likeCount : Option < i64 > ,
304303}
305304
306305/// Brief description of the live stream cdn settings.
@@ -1225,15 +1224,15 @@ pub struct Channel {
12251224#[ derive( RustcEncodable , RustcDecodable , Default , Clone ) ]
12261225pub struct ChannelStatistics {
12271226 /// The number of comments for the channel.
1228- pub commentCount : Option < String > ,
1227+ pub commentCount : Option < i64 > ,
12291228 /// The number of subscribers that the channel has.
1230- pub subscriberCount : Option < String > ,
1229+ pub subscriberCount : Option < i64 > ,
12311230 /// The number of videos uploaded to the channel.
1232- pub videoCount : Option < String > ,
1231+ pub videoCount : Option < i64 > ,
12331232 /// Whether or not the number of subscribers is shown for this user.
12341233 pub hiddenSubscriberCount : Option < bool > ,
12351234 /// The number of times the channel has been viewed.
1236- pub viewCount : Option < String > ,
1235+ pub viewCount : Option < i64 > ,
12371236}
12381237
12391238/// Details about a social network post.
0 commit comments