pub struct TransactionOnNetwork {Show 30 fields
pub kind: String,
pub hash: Option<String>,
pub nonce: u64,
pub round: u64,
pub epoch: u64,
pub value: String,
pub receiver: SdkAddress,
pub sender: SdkAddress,
pub gas_price: u64,
pub gas_limit: u64,
pub gas_used: u64,
pub signature: String,
pub source_shard: u32,
pub destination_shard: u32,
pub block_nonce: u64,
pub block_hash: String,
pub notarized_at_source_in_meta_nonce: Option<u64>,
pub notarized_at_source_in_meta_hash: Option<String>,
pub notarized_at_destination_in_meta_nonce: Option<u64>,
pub notarized_at_destination_in_meta_hash: Option<String>,
pub processing_type_on_destination: String,
pub miniblock_type: String,
pub miniblock_hash: String,
pub timestamp: u64,
pub data: Option<String>,
pub status: String,
pub hyperblock_nonce: Option<u64>,
pub hyperblock_hash: Option<String>,
pub smart_contract_results: Vec<ApiSmartContractResult>,
pub logs: Option<ApiLogs>,
}
Fields§
§kind: String
§hash: Option<String>
§nonce: u64
§round: u64
§epoch: u64
§value: String
§receiver: SdkAddress
§sender: SdkAddress
§gas_price: u64
§gas_limit: u64
§gas_used: u64
§signature: String
§source_shard: u32
§destination_shard: u32
§block_nonce: u64
§block_hash: String
§notarized_at_source_in_meta_nonce: Option<u64>
§notarized_at_source_in_meta_hash: Option<String>
§notarized_at_destination_in_meta_nonce: Option<u64>
§notarized_at_destination_in_meta_hash: Option<String>
§processing_type_on_destination: String
§miniblock_type: String
§miniblock_hash: String
§timestamp: u64
§data: Option<String>
§status: String
§hyperblock_nonce: Option<u64>
§hyperblock_hash: Option<String>
§smart_contract_results: Vec<ApiSmartContractResult>
§logs: Option<ApiLogs>
Trait Implementations§
Source§impl Clone for TransactionOnNetwork
impl Clone for TransactionOnNetwork
Source§fn clone(&self) -> TransactionOnNetwork
fn clone(&self) -> TransactionOnNetwork
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 moreSource§impl Debug for TransactionOnNetwork
impl Debug for TransactionOnNetwork
Source§impl Default for TransactionOnNetwork
impl Default for TransactionOnNetwork
Source§fn default() -> TransactionOnNetwork
fn default() -> TransactionOnNetwork
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionOnNetwork
impl<'de> Deserialize<'de> for TransactionOnNetwork
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionOnNetwork, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionOnNetwork, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TransactionOnNetwork
impl Serialize for TransactionOnNetwork
Source§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 Freeze for TransactionOnNetwork
impl RefUnwindSafe for TransactionOnNetwork
impl Send for TransactionOnNetwork
impl Sync for TransactionOnNetwork
impl Unpin for TransactionOnNetwork
impl UnwindSafe for TransactionOnNetwork
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more