pub struct CrossChainLockEvent {
pub right_id: Hash,
pub commitment: Hash,
pub owner: OwnershipProof,
pub source_chain: ChainId,
pub destination_chain: ChainId,
pub destination_owner: OwnershipProof,
pub source_seal: SealRef,
pub source_tx_hash: Hash,
pub source_block_height: u64,
pub timestamp: u64,
}Expand description
Event emitted when a Right is locked on the source chain for cross-chain transfer.
Fields§
§right_id: HashThe Right being locked
commitment: HashThe commitment hash of the Right
owner: OwnershipProofThe owner who initiated the lock
source_chain: ChainIdSource chain where the Right is being locked
destination_chain: ChainIdDestination chain for the transfer
destination_owner: OwnershipProofDestination owner (may differ from source owner)
source_seal: SealRefSource chain’s seal reference (consumed during lock)
source_tx_hash: HashSource transaction hash
source_block_height: u64Source block height
timestamp: u64Unix timestamp of the lock event
Trait Implementations§
Source§impl Clone for CrossChainLockEvent
impl Clone for CrossChainLockEvent
Source§fn clone(&self) -> CrossChainLockEvent
fn clone(&self) -> CrossChainLockEvent
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 CrossChainLockEvent
impl Debug for CrossChainLockEvent
Source§impl<'de> Deserialize<'de> for CrossChainLockEvent
impl<'de> Deserialize<'de> for CrossChainLockEvent
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 CrossChainLockEvent
impl PartialEq for CrossChainLockEvent
Source§impl Serialize for CrossChainLockEvent
impl Serialize for CrossChainLockEvent
impl Eq for CrossChainLockEvent
impl StructuralPartialEq for CrossChainLockEvent
Auto Trait Implementations§
impl Freeze for CrossChainLockEvent
impl RefUnwindSafe for CrossChainLockEvent
impl Send for CrossChainLockEvent
impl Sync for CrossChainLockEvent
impl Unpin for CrossChainLockEvent
impl UnsafeUnpin for CrossChainLockEvent
impl UnwindSafe for CrossChainLockEvent
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