Struct cryptoapis::models::get_omni_transaction_details_by_transaction_id_txid_ri::GetOmniTransactionDetailsByTransactionIdTxidRi [−][src]
pub struct GetOmniTransactionDetailsByTransactionIdTxidRi {Show 14 fields
pub amount: String,
pub divisible: bool,
pub mined_in_block_hash: String,
pub mined_in_block_height: i32,
pub property_id: i32,
pub recipients: Vec<ListOmniTransactionsByAddressRiRecipients>,
pub senders: Vec<GetOmniTransactionDetailsByTransactionIdTxidRiSenders>,
pub timestamp: i32,
pub transaction_id: String,
pub _type: String,
pub type_int: i32,
pub valid: bool,
pub version: i32,
pub fee: Box<ListUnconfirmedOmniTransactionsByAddressRiFee>,
}
Fields
amount: String
Defines the amount of the sent tokens.
divisible: bool
Defines whether the attribute can be divisible or not, as boolean. E.g., if it is "true", the attribute is divisible.
mined_in_block_hash: String
Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
mined_in_block_height: i32
Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block.
property_id: i32
Represents the identifier of the tokens to send.
recipients: Vec<ListOmniTransactionsByAddressRiRecipients>
Represents an object of addresses that receive the transactions.
senders: Vec<GetOmniTransactionDetailsByTransactionIdTxidRiSenders>
Represents an object of addresses that provide the funds.
timestamp: i32
Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.
transaction_id: String
Represents the unique identifier of a transaction, i.e. it could be transactionId
in UTXO-based protocols like Bitcoin, and transaction hash
in Ethereum blockchain.
_type: String
Defines the type of the transaction as a string.
type_int: i32
Defines the type of the transaction as a number.
valid: bool
Defines whether the transaction is valid or not, as boolean. E.g. if set to "true", it means the transaction is valid.
version: i32
Defines the specific version.
fee: Box<ListUnconfirmedOmniTransactionsByAddressRiFee>
Implementations
pub fn new(
amount: String,
divisible: bool,
mined_in_block_hash: String,
mined_in_block_height: i32,
property_id: i32,
recipients: Vec<ListOmniTransactionsByAddressRiRecipients>,
senders: Vec<GetOmniTransactionDetailsByTransactionIdTxidRiSenders>,
timestamp: i32,
transaction_id: String,
_type: String,
type_int: i32,
valid: bool,
version: i32,
fee: ListUnconfirmedOmniTransactionsByAddressRiFee
) -> GetOmniTransactionDetailsByTransactionIdTxidRi
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more