pub struct TreasuryEvent {
pub event_id: String,
pub asset: String,
pub amount: u128,
pub direction: String,
pub reason: String,
pub timestamp: u64,
pub reference_id: Option<String>,
}Expand description
CON-771: Shared domain schema for Treasury Events.
Fields§
§event_id: String§asset: String§amount: u128§direction: String§reason: String§timestamp: u64§reference_id: Option<String>Trait Implementations§
Source§impl Clone for TreasuryEvent
impl Clone for TreasuryEvent
Source§impl Debug for TreasuryEvent
impl Debug for TreasuryEvent
Source§impl<'de> Deserialize<'de> for TreasuryEvent
impl<'de> Deserialize<'de> for TreasuryEvent
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 TreasuryEvent
impl RefUnwindSafe for TreasuryEvent
impl Send for TreasuryEvent
impl Sync for TreasuryEvent
impl Unpin for TreasuryEvent
impl UnsafeUnpin for TreasuryEvent
impl UnwindSafe for TreasuryEvent
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