pub struct CCAssetTwitter {
pub unit: String,
pub timestamp: i64,
pub type_: String,
pub asset_id: i32,
pub asset_symbol: String,
pub total_following: i32,
pub total_followers: i32,
pub total_favourites: i32,
pub total_lists: i32,
pub total_statuses: i32,
pub twitter_accounts: Option<Vec<CCAssetTwitterAccount>>,
}
Expand description
Asset: Historical X (Twitter)
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_following: i32
The total number of accounts followed by this X account.
total_followers: i32
The total number of followers of this X account.
total_favourites: i32
The total number of tweets favorited by this X account.
total_lists: i32
The total number of lists this X account is a member of.
total_statuses: i32
The total number of tweets and retweets made by this X account.
twitter_accounts: Option<Vec<CCAssetTwitterAccount>>
An array with all the data for each X account used to calculate the total stats.
Trait Implementations§
Source§impl Debug for CCAssetTwitter
impl Debug for CCAssetTwitter
Source§impl<'de> Deserialize<'de> for CCAssetTwitter
impl<'de> Deserialize<'de> for CCAssetTwitter
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 CCAssetTwitter
impl RefUnwindSafe for CCAssetTwitter
impl Send for CCAssetTwitter
impl Sync for CCAssetTwitter
impl Unpin for CCAssetTwitter
impl UnwindSafe for CCAssetTwitter
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