pub struct CCAssetReddit {
pub unit: String,
pub timestamp: i64,
pub type_: String,
pub asset_id: i32,
pub asset_symbol: String,
pub total_subscribers: i32,
pub total_active_users: i32,
pub total_average_posts_per_day: f64,
pub total_average_posts_per_hour: f64,
pub total_average_comments_per_day: f64,
pub total_average_comments_per_hour: f64,
pub subreddits: Option<Vec<CCAssetSubreddit>>,
}
Expand description
Asset: Historical Reddit
Fields§
§unit: String
The unit of the historical period update: HOUR for hour and DAY for day.
timestamp: i64
The timestamp in seconds of the histo period, for hour it would be start of the hour and for daily it is 00:00 GMT/UTC.
type_: String
The type of the message.
asset_id: i32
The unique identifier for the asset.
asset_symbol: String
Internal mapped symbol for a specific asset.
total_subscribers: i32
The number of subscribers to the subreddit.
total_active_users: i32
The number of currently active users in the subreddit.
total_average_posts_per_day: f64
The average number of posts per day in the subreddit.
total_average_posts_per_hour: f64
The average number of posts per hour in the subreddit.
total_average_comments_per_day: f64
The average number of comments per day in the subreddit.
total_average_comments_per_hour: f64
The average number of comments per hour in the subreddit.
subreddits: Option<Vec<CCAssetSubreddit>>
An array with all the data for each Subreddit used to calculate the total stats.
Trait Implementations§
Source§impl Debug for CCAssetReddit
impl Debug for CCAssetReddit
Source§impl<'de> Deserialize<'de> for CCAssetReddit
impl<'de> Deserialize<'de> for CCAssetReddit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CCAssetReddit
impl RefUnwindSafe for CCAssetReddit
impl Send for CCAssetReddit
impl Sync for CCAssetReddit
impl Unpin for CCAssetReddit
impl UnwindSafe for CCAssetReddit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more