pub struct CrossChainRegistryEntry {
pub right_id: Hash,
pub source_chain: ChainId,
pub source_seal: SealRef,
pub destination_chain: ChainId,
pub destination_seal: SealRef,
pub lock_tx_hash: Hash,
pub mint_tx_hash: Hash,
pub timestamp: u64,
}Expand description
Entry in the cross-chain seal registry recording a completed transfer.
Fields§
§right_id: HashThe Right’s unique ID (preserved across chains)
source_chain: ChainIdSource chain identifier
source_seal: SealRefSource chain’s seal reference
destination_chain: ChainIdDestination chain identifier
destination_seal: SealRefDestination chain’s seal reference
lock_tx_hash: HashLock transaction hash on source chain
mint_tx_hash: HashMint transaction hash on destination chain
timestamp: u64Unix timestamp of the transfer
Trait Implementations§
Source§impl Clone for CrossChainRegistryEntry
impl Clone for CrossChainRegistryEntry
Source§fn clone(&self) -> CrossChainRegistryEntry
fn clone(&self) -> CrossChainRegistryEntry
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 CrossChainRegistryEntry
impl Debug for CrossChainRegistryEntry
Source§impl<'de> Deserialize<'de> for CrossChainRegistryEntry
impl<'de> Deserialize<'de> for CrossChainRegistryEntry
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 PartialEq for CrossChainRegistryEntry
impl PartialEq for CrossChainRegistryEntry
Source§impl Serialize for CrossChainRegistryEntry
impl Serialize for CrossChainRegistryEntry
impl Eq for CrossChainRegistryEntry
impl StructuralPartialEq for CrossChainRegistryEntry
Auto Trait Implementations§
impl Freeze for CrossChainRegistryEntry
impl RefUnwindSafe for CrossChainRegistryEntry
impl Send for CrossChainRegistryEntry
impl Sync for CrossChainRegistryEntry
impl Unpin for CrossChainRegistryEntry
impl UnsafeUnpin for CrossChainRegistryEntry
impl UnwindSafe for CrossChainRegistryEntry
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