pub struct AssetEvent {
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_: StringType of the message.
id: i32The unique identifier for the asset event entry.
asset_id: i32The unique identifier for the asset the event entry is associated to.
event_type: StringThe 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: i64The unix timestamp when we were notified of the event.
implementation_start_date: i64The unix timestamp when the event was triggered.
implementation_end_date: Option<i64>The unix timestamp when the event finished.
name: StringName text.
description: StringDescription text.
created_on: i64Asset 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 Clone for AssetEvent
impl Clone for AssetEvent
Source§fn clone(&self) -> AssetEvent
fn clone(&self) -> AssetEvent
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 AssetEvent
impl Debug for AssetEvent
Source§impl<'de> Deserialize<'de> for AssetEvent
impl<'de> Deserialize<'de> for AssetEvent
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 AssetEvent
impl RefUnwindSafe for AssetEvent
impl Send for AssetEvent
impl Sync for AssetEvent
impl Unpin for AssetEvent
impl UnsafeUnpin for AssetEvent
impl UnwindSafe for AssetEvent
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