Struct ex3_node_types::deposit::DepositIdentifier
source · pub struct DepositIdentifier {
pub asset_id: AssetId,
pub block_height: BlockHeight,
pub tx_id: Option<String>,
}Fields§
§asset_id: AssetId§block_height: BlockHeightThe block height Any chain does not have a block height? we use the timestamp instead? (TBD)
tx_id: Option<String>The block chain transaction id For UTXO, it is the transaction id + tx index
Implementations§
Trait Implementations§
source§impl Clone for DepositIdentifier
impl Clone for DepositIdentifier
source§fn clone(&self) -> DepositIdentifier
fn clone(&self) -> DepositIdentifier
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 DepositIdentifier
impl Debug for DepositIdentifier
source§impl<'de> Deserialize<'de> for DepositIdentifier
impl<'de> Deserialize<'de> for DepositIdentifier
source§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
source§impl Hash for DepositIdentifier
impl Hash for DepositIdentifier
source§impl PartialEq<DepositIdentifier> for DepositIdentifier
impl PartialEq<DepositIdentifier> for DepositIdentifier
source§fn eq(&self, other: &DepositIdentifier) -> bool
fn eq(&self, other: &DepositIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.