#[repr(C)]pub struct CurrentEscrow;Trait Implementations§
Source§impl Clone for CurrentEscrow
impl Clone for CurrentEscrow
Source§fn clone(&self) -> CurrentEscrow
fn clone(&self) -> CurrentEscrow
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 CurrentEscrowFields for CurrentEscrow
impl CurrentEscrowFields for CurrentEscrow
Source§fn get_account(&self) -> Result<AccountID>
fn get_account(&self) -> Result<AccountID>
The address of the owner (sender) of this escrow. This is the account that provided the XRP
and gets it back if the escrow is canceled.
Source§fn get_amount(&self) -> Result<TokenAmount>
fn get_amount(&self) -> Result<TokenAmount>
The amount currently held in the escrow (could be XRP, IOU, or MPT).
Source§fn get_cancel_after(&self) -> Result<Option<u32>>
fn get_cancel_after(&self) -> Result<Option<u32>>
The escrow can be canceled if and only if this field is present and the time it specifies
has passed. Specifically, this is specified as seconds since the Ripple Epoch and it
“has passed” if it’s earlier than the close time of the previous validated ledger.
Source§fn get_condition(&self) -> Result<Option<Condition>>
fn get_condition(&self) -> Result<Option<Condition>>
A PREIMAGE-SHA-256 crypto-condition, as hexadecimal. If present, the EscrowFinish
transaction must contain a fulfillment that satisfies this condition.
Source§fn get_destination(&self) -> Result<AccountID>
fn get_destination(&self) -> Result<AccountID>
The destination address where the XRP is paid if the escrow is successful.
Source§fn get_destination_node(&self) -> Result<Option<u64>>
fn get_destination_node(&self) -> Result<Option<u64>>
A hint indicating which page of the destination’s owner directory links to this object, in
case the directory consists of multiple pages. Omitted on escrows created before enabling the fix1523 amendment.
Source§fn get_destination_tag(&self) -> Result<Option<u32>>
fn get_destination_tag(&self) -> Result<Option<u32>>
An arbitrary tag to further specify the destination for this escrow, such as a hosted
recipient at the destination address.
Source§fn get_finish_after(&self) -> Result<Option<u32>>
fn get_finish_after(&self) -> Result<Option<u32>>
The time, in seconds since the Ripple Epoch, after which this escrow can be finished. Any
EscrowFinish transaction before this time fails. (Specifically, this is compared with the
close time of the previous validated ledger.)
Source§fn get_owner_node(&self) -> Result<u64>
fn get_owner_node(&self) -> Result<u64>
A hint indicating which page of the sender’s owner directory links to this entry, in case
the directory consists of multiple pages.
Source§fn get_previous_txn_id(&self) -> Result<Hash256>
fn get_previous_txn_id(&self) -> Result<Hash256>
The identifying hash of the transaction that most recently modified this entry.
Source§fn get_previous_txn_lgr_seq(&self) -> Result<u32>
fn get_previous_txn_lgr_seq(&self) -> Result<u32>
The index of the ledger that contains the transaction that most recently modified this
entry.
Source§fn get_source_tag(&self) -> Result<Option<u32>>
fn get_source_tag(&self) -> Result<Option<u32>>
An arbitrary tag to further specify the source for this escrow, such as a hosted recipient
at the owner’s address.
Source§fn get_data(&self) -> Result<ContractData>
fn get_data(&self) -> Result<ContractData>
Retrieves the contract
data from the current escrow object. Read moreSource§fn update_current_escrow_data(data: ContractData) -> Result<()>
fn update_current_escrow_data(data: ContractData) -> Result<()>
Updates the contract data in the current escrow object. Read more
Source§impl CurrentLedgerObjectCommonFields for CurrentEscrow
impl CurrentLedgerObjectCommonFields for CurrentEscrow
Source§impl Debug for CurrentEscrow
impl Debug for CurrentEscrow
Source§impl PartialEq for CurrentEscrow
impl PartialEq for CurrentEscrow
impl Copy for CurrentEscrow
impl Eq for CurrentEscrow
impl StructuralPartialEq for CurrentEscrow
Auto Trait Implementations§
impl Freeze for CurrentEscrow
impl RefUnwindSafe for CurrentEscrow
impl Send for CurrentEscrow
impl Sync for CurrentEscrow
impl Unpin for CurrentEscrow
impl UnwindSafe for CurrentEscrow
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