#[repr(C)]pub struct EscrowFinish;Expand description
Represents an EscrowFinish transaction in the XRPL Programmability environment.
This zero-sized type serves as a marker for EscrowFinish transactions and provides access to transaction-specific fields through trait implementations. The structure implements both common transaction fields (available to all transaction types) and escrow-finish-specific fields.
§Field Access
Through the implemented traits, this structure provides access to:
§Common Transaction Fields (via TransactionCommonFields)
- Account (transaction sender)
- Fee (transaction cost in drops)
- Sequence (account sequence number)
- LastLedgerSequence (transaction expiration)
- And other standard XRPL transaction fields
§EscrowFinish-Specific Fields (via EscrowFinishFields)
- Owner (account that created the escrow)
- OfferSequence (sequence number of the EscrowCreate transaction)
- Condition (cryptographic condition, if present)
- Fulfillment (cryptographic fulfillment, if present)
§Zero-Cost Abstraction
This structure has no runtime overhead as it contains no data fields. All field access is performed through the trait methods, which directly call the underlying host functions to retrieve data from the current transaction context.
Trait Implementations§
Source§impl Clone for EscrowFinish
impl Clone for EscrowFinish
Source§fn clone(&self) -> EscrowFinish
fn clone(&self) -> EscrowFinish
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EscrowFinish
impl Debug for EscrowFinish
Source§impl EscrowFinishFields for EscrowFinish
Implementation of EscrowFinish-specific transaction fields.
impl EscrowFinishFields for EscrowFinish
Implementation of EscrowFinish-specific transaction fields.
This implementation provides access to fields that are specific to EscrowFinish
transactions, such as Owner, OfferSequence, Condition, and Fulfillment.
The methods are provided by the EscrowFinishFields trait.
Source§fn get_id(&self) -> Result<Hash256>
fn get_id(&self) -> Result<Hash256>
Source§fn get_owner(&self) -> Result<AccountID>
fn get_owner(&self) -> Result<AccountID>
Source§fn get_offer_sequence(&self) -> Result<u32>
fn get_offer_sequence(&self) -> Result<u32>
Source§fn get_condition(&self) -> Result<Option<Condition>>
fn get_condition(&self) -> Result<Option<Condition>>
Source§fn get_fulfillment(&self) -> Result<Option<Fulfillment>>
fn get_fulfillment(&self) -> Result<Option<Fulfillment>>
Source§impl PartialEq for EscrowFinish
impl PartialEq for EscrowFinish
Source§impl TransactionCommonFields for EscrowFinish
Implementation of common transaction fields for EscrowFinish transactions.
impl TransactionCommonFields for EscrowFinish
Implementation of common transaction fields for EscrowFinish transactions.
This implementation provides access to standard XRPL transaction fields that are
present in all transaction types, such as Account, Fee, Sequence, and others.
The methods are provided by the TransactionCommonFields trait.
Source§fn get_account(&self) -> Result<AccountID>
fn get_account(&self) -> Result<AccountID>
Source§fn get_transaction_type(&self) -> Result<TransactionType>
fn get_transaction_type(&self) -> Result<TransactionType>
Source§fn get_computation_allowance(&self) -> Result<u32>
fn get_computation_allowance(&self) -> Result<u32>
Source§fn get_fee(&self) -> Result<Amount>
fn get_fee(&self) -> Result<Amount>
Source§fn get_sequence(&self) -> Result<u32>
fn get_sequence(&self) -> Result<u32>
Source§fn get_account_txn_id(&self) -> Result<Option<Hash256>>
fn get_account_txn_id(&self) -> Result<Option<Hash256>>
Source§fn get_flags(&self) -> Result<Option<u32>>
fn get_flags(&self) -> Result<Option<u32>>
flags field from the current transaction. Read more