pub struct XChainOwnedClaimID { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for XChainOwnedClaimID
impl Clone for XChainOwnedClaimID
Source§fn clone(&self) -> XChainOwnedClaimID
fn clone(&self) -> XChainOwnedClaimID
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XChainOwnedClaimID
Source§impl Debug for XChainOwnedClaimID
impl Debug for XChainOwnedClaimID
impl Eq for XChainOwnedClaimID
Source§impl LedgerObjectCommonFields for XChainOwnedClaimID
impl LedgerObjectCommonFields for XChainOwnedClaimID
Source§fn get_slot_num(&self) -> i32
fn get_slot_num(&self) -> i32
Returns the slot number (register number) where the ledger object is stored. Read more
Source§fn path(&self) -> LedgerPathBuilder
fn path(&self) -> LedgerPathBuilder
Starts a nested-field path rooted at this ledger object, read through its slot. Read more
Source§impl PartialEq for XChainOwnedClaimID
impl PartialEq for XChainOwnedClaimID
impl StructuralPartialEq for XChainOwnedClaimID
Source§impl XChainOwnedClaimIDFields for XChainOwnedClaimID
impl XChainOwnedClaimIDFields for XChainOwnedClaimID
Source§fn xchain_bridge(&self) -> Result<[u8; 512]>
fn xchain_bridge(&self) -> Result<[u8; 512]>
The door accounts and assets of the bridge this object correlates to.
Raw bytes; XCHAIN_BRIDGE is not yet typed in Rust.
Source§fn xchain_claim_id(&self) -> Result<u64>
fn xchain_claim_id(&self) -> Result<u64>
The unique sequence number for a cross-chain transfer.
Source§fn other_chain_source(&self) -> Result<AccountID>
fn other_chain_source(&self) -> Result<AccountID>
The account that must send the corresponding
XChainCommit on the source chain. The
destination may be specified in the XChainCommit transaction, which means that if the
OtherChainSource isn’t specified, another account can try to specify a different
destination and steal the funds. This also allows tracking only a single set of signatures,
since we know which account will send the XChainCommit transaction.Source§fn signature_reward(&self) -> Result<Amount>
fn signature_reward(&self) -> Result<Amount>
The total amount to pay the witness servers for their signatures. It must be at least the
value of
SignatureReward in the Bridge ledger object.Source§fn owner_node(&self) -> Result<u64>
fn owner_node(&self) -> Result<u64>
The OwnerNode field (Required).
Source§fn previous_txn_id(&self) -> Result<Hash256>
fn previous_txn_id(&self) -> Result<Hash256>
The PreviousTxnID field (Required).
Source§fn previous_txn_lgr_seq(&self) -> Result<u32>
fn previous_txn_lgr_seq(&self) -> Result<u32>
The PreviousTxnLgrSeq field (Required).
Auto Trait Implementations§
impl Freeze for XChainOwnedClaimID
impl RefUnwindSafe for XChainOwnedClaimID
impl Send for XChainOwnedClaimID
impl Sync for XChainOwnedClaimID
impl Unpin for XChainOwnedClaimID
impl UnsafeUnpin for XChainOwnedClaimID
impl UnwindSafe for XChainOwnedClaimID
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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