pub struct CCAssetDiscord {
pub unit: String,
pub timestamp: i64,
pub type_: String,
pub asset_id: i32,
pub asset_symbol: String,
pub total_members: Option<i32>,
pub total_current_active_users: Option<i32>,
pub total_premium_subscribers: Option<i32>,
pub discord_servers: Vec<Option<CCAssetDiscordServer>>,
}
Expand description
Asset: Historical Discord
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
Symbol for a specific asset.
total_members: Option<i32>
The total number of users/members in this Discord server.
total_current_active_users: Option<i32>
The number of online users in this Discord server.
The number of premium subscribers in this Discord server.
discord_servers: Vec<Option<CCAssetDiscordServer>>
An array with all the data for each Discord server used to calculate the total stats.
Trait Implementations§
Source§impl Debug for CCAssetDiscord
impl Debug for CCAssetDiscord
Source§impl<'de> Deserialize<'de> for CCAssetDiscord
impl<'de> Deserialize<'de> for CCAssetDiscord
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 CCAssetDiscord
impl RefUnwindSafe for CCAssetDiscord
impl Send for CCAssetDiscord
impl Sync for CCAssetDiscord
impl Unpin for CCAssetDiscord
impl UnwindSafe for CCAssetDiscord
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