Struct tea_sdk::actors::tappstore::txns::TopupEventItem
pub struct TopupEventItem {
pub token_address: H160,
pub sender: H160,
pub amount: U256,
pub height: u64,
}
Fields§
§token_address: H160
§sender: H160
§amount: U256
§height: u64
Trait Implementations§
§impl Clone for TopupEventItem
impl Clone for TopupEventItem
§fn clone(&self) -> TopupEventItem
fn clone(&self) -> TopupEventItem
Returns a copy 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 more§impl Debug for TopupEventItem
impl Debug for TopupEventItem
§impl<'de> Deserialize<'de> for TopupEventItem
impl<'de> Deserialize<'de> for TopupEventItem
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TopupEventItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TopupEventItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for TopupEventItem
impl Hash for TopupEventItem
§impl PartialEq for TopupEventItem
impl PartialEq for TopupEventItem
§fn eq(&self, other: &TopupEventItem) -> bool
fn eq(&self, other: &TopupEventItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for TopupEventItem
impl Serialize for TopupEventItem
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TopupEventItem
impl StructuralEq for TopupEventItem
impl StructuralPartialEq for TopupEventItem
Auto Trait Implementations§
impl RefUnwindSafe for TopupEventItem
impl Send for TopupEventItem
impl Sync for TopupEventItem
impl Unpin for TopupEventItem
impl UnwindSafe for TopupEventItem
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.