pub struct AssetTwitter {
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<AssetTwitterAccount>>,
}Expand description
Asset: Historical X (Twitter)
Fields§
§unit: StringThe unit of the historical period update: HOUR for hour and DAY for day.
timestamp: i64The 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_: StringThe type of the message.
asset_id: i32The unique identifier for the asset.
asset_symbol: StringInternal mapped symbol for a specific asset.
total_following: i32The total number of accounts followed by this X account.
total_followers: i32The total number of followers of this X account.
total_favourites: i32The total number of tweets favorited by this X account.
total_lists: i32The total number of lists this X account is a member of.
total_statuses: i32The total number of tweets and retweets made by this X account.
twitter_accounts: Option<Vec<AssetTwitterAccount>>An array with all the data for each X account used to calculate the total stats.
Trait Implementations§
Source§impl Clone for AssetTwitter
impl Clone for AssetTwitter
Source§fn clone(&self) -> AssetTwitter
fn clone(&self) -> AssetTwitter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetTwitter
impl Debug for AssetTwitter
Source§impl<'de> Deserialize<'de> for AssetTwitter
impl<'de> Deserialize<'de> for AssetTwitter
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 AssetTwitter
impl RefUnwindSafe for AssetTwitter
impl Send for AssetTwitter
impl Sync for AssetTwitter
impl Unpin for AssetTwitter
impl UnsafeUnpin for AssetTwitter
impl UnwindSafe for AssetTwitter
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