pub struct CCAssetEvent {
pub type_: String,
pub id: i32,
pub asset_id: i32,
pub event_type: String,
pub announced_on: i64,
pub implementation_start_date: i64,
pub implementation_end_date: Option<i64>,
pub name: String,
pub description: String,
pub created_on: i64,
pub updated_on: Option<i64>,
}
Expand description
Asset: Events
Fields§
§type_: String
Type of the message.
id: i32
The unique identifier for the asset event entry.
asset_id: i32
The unique identifier for the asset the event entry is associated to.
event_type: String
The event type, one of the following: SECURITY-INCIDENT, HARD-FORK, SOFT-FORK, TICKER-CHANGE, MIGRATION, SUPPLY-BURN, SUPPLY-LOCK, SPLIT, REVERSE-SPLIT, TOKEN-LISTING, TOKEN-DELISTING, NETWORK-CONTROL-CHANGE, OTHER
announced_on: i64
The unix timestamp when we were notified of the event.
implementation_start_date: i64
The unix timestamp when the event was triggered.
implementation_end_date: Option<i64>
The unix timestamp when the event finished.
name: String
Name text.
description: String
Description text.
created_on: i64
Asset Event internal creation unix ts in our system.
updated_on: Option<i64>
Asset Event internal last updated unix ts in our system.
Trait Implementations§
Source§impl Debug for CCAssetEvent
impl Debug for CCAssetEvent
Source§impl<'de> Deserialize<'de> for CCAssetEvent
impl<'de> Deserialize<'de> for CCAssetEvent
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 CCAssetEvent
impl RefUnwindSafe for CCAssetEvent
impl Send for CCAssetEvent
impl Sync for CCAssetEvent
impl Unpin for CCAssetEvent
impl UnwindSafe for CCAssetEvent
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