pub struct TransactionInfo {Show 24 fields
pub id: Vec<u8>,
pub fee: i64,
pub block_number: i64,
pub block_time_stamp: i64,
pub contract_result: Vec<Vec<u8>>,
pub contract_address: Vec<u8>,
pub receipt: Option<ResourceReceipt>,
pub log: Vec<Log>,
pub result: i32,
pub res_message: Vec<u8>,
pub asset_issue_id: String,
pub withdraw_amount: i64,
pub unfreeze_amount: i64,
pub internal_transactions: Vec<InternalTransaction>,
pub exchange_received_amount: i64,
pub exchange_inject_another_amount: i64,
pub exchange_withdraw_another_amount: i64,
pub exchange_id: i64,
pub shielded_transaction_fee: i64,
pub order_id: Vec<u8>,
pub order_details: Vec<MarketOrderDetail>,
pub packing_fee: i64,
pub withdraw_expire_amount: i64,
pub cancel_unfreeze_v2_amount: HashMap<String, i64>,
}
Fields§
§id: Vec<u8>
§fee: i64
§block_number: i64
§block_time_stamp: i64
§contract_result: Vec<Vec<u8>>
§contract_address: Vec<u8>
§receipt: Option<ResourceReceipt>
§log: Vec<Log>
§result: i32
§res_message: Vec<u8>
§asset_issue_id: String
§withdraw_amount: i64
§unfreeze_amount: i64
§internal_transactions: Vec<InternalTransaction>
§exchange_received_amount: i64
§exchange_inject_another_amount: i64
§exchange_withdraw_another_amount: i64
§exchange_id: i64
§shielded_transaction_fee: i64
§order_id: Vec<u8>
§order_details: Vec<MarketOrderDetail>
§packing_fee: i64
§withdraw_expire_amount: i64
§cancel_unfreeze_v2_amount: HashMap<String, i64>
Implementations§
Trait Implementations§
Source§impl Clone for TransactionInfo
impl Clone for TransactionInfo
Source§fn clone(&self) -> TransactionInfo
fn clone(&self) -> TransactionInfo
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 TransactionInfo
impl Debug for TransactionInfo
Source§impl Default for TransactionInfo
impl Default for TransactionInfo
Source§impl Message for TransactionInfo
impl Message for TransactionInfo
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for TransactionInfo
impl PartialEq for TransactionInfo
impl StructuralPartialEq for TransactionInfo
Auto Trait Implementations§
impl Freeze for TransactionInfo
impl RefUnwindSafe for TransactionInfo
impl Send for TransactionInfo
impl Sync for TransactionInfo
impl Unpin for TransactionInfo
impl UnwindSafe for TransactionInfo
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request