Struct tea_sdk::utils::client_wasm_actor::txn_cache::TxnCacheItem
pub struct TxnCacheItem {
pub time: u128,
pub from_actor: String,
pub sender: H160,
pub hash_hex: Option<String>,
pub ts: Option<u128>,
pub nonce: Option<u64>,
pub txn_name: String,
pub txn_bytes: Vec<u8>,
pub txn_status: String,
pub error: Option<String>,
pub status: Option<String>,
}
Fields§
§time: u128
§from_actor: String
§sender: H160
§hash_hex: Option<String>
§ts: Option<u128>
§nonce: Option<u64>
§txn_name: String
§txn_bytes: Vec<u8>
§txn_status: String
§error: Option<String>
§status: Option<String>
Implementations§
§impl TxnCacheItem
impl TxnCacheItem
Trait Implementations§
§impl Clone for TxnCacheItem
impl Clone for TxnCacheItem
§fn clone(&self) -> TxnCacheItem
fn clone(&self) -> TxnCacheItem
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 TxnCacheItem
impl Debug for TxnCacheItem
§impl<'de> Deserialize<'de> for TxnCacheItem
impl<'de> Deserialize<'de> for TxnCacheItem
§fn deserialize<__D>(
__deserializer: __D
) -> Result<TxnCacheItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<TxnCacheItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for TxnCacheItem
impl Serialize for TxnCacheItem
§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
Auto Trait Implementations§
impl RefUnwindSafe for TxnCacheItem
impl Send for TxnCacheItem
impl Sync for TxnCacheItem
impl Unpin for TxnCacheItem
impl UnwindSafe for TxnCacheItem
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