#[repr(C)]pub struct Escrow;Trait Implementations§
Source§impl EscrowFields for Escrow
impl EscrowFields for Escrow
Source§fn get_account(&self, register_num: i32) -> Result<AccountID>
fn get_account(&self, register_num: i32) -> 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, register_num: i32) -> Result<TokenAmount>
fn get_amount(&self, register_num: i32) -> Result<TokenAmount>
The amount of XRP, in drops, currently held in the escrow.
Source§fn get_cancel_after(&self, register_num: i32) -> Result<Option<u32>>
fn get_cancel_after(&self, register_num: i32) -> 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, register_num: i32) -> Result<Option<Condition>>
fn get_condition(&self, register_num: i32) -> 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, register_num: i32) -> Result<AccountID>
fn get_destination(&self, register_num: i32) -> Result<AccountID>
The destination address where the XRP is paid if the escrow is successful.
Source§fn get_destination_node(&self, register_num: i32) -> Result<Option<Hash256>>
fn get_destination_node(&self, register_num: i32) -> Result<Option<Hash256>>
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, register_num: i32) -> Result<Option<u32>>
fn get_destination_tag(&self, register_num: i32) -> 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, register_num: i32) -> Result<Option<u32>>
fn get_finish_after(&self, register_num: i32) -> 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, register_num: i32) -> Result<Hash256>
fn get_owner_node(&self, register_num: i32) -> Result<Hash256>
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, register_num: i32) -> Result<Hash256>
fn get_previous_txn_id(&self, register_num: i32) -> Result<Hash256>
The identifying hash of the transaction that most recently modified this entry.
Source§fn get_previous_txn_lgr_seq(&self, register_num: i32) -> Result<u32>
fn get_previous_txn_lgr_seq(&self, register_num: i32) -> Result<u32>
The index of the ledger that contains the transaction that most recently modified this
entry.
Source§fn get_source_tag(&self, register_num: i32) -> Result<Option<u32>>
fn get_source_tag(&self, register_num: i32) -> 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§impl LedgerObjectCommonFields for Escrow
impl LedgerObjectCommonFields for Escrow
impl Copy for Escrow
impl Eq for Escrow
impl StructuralPartialEq for Escrow
Auto Trait Implementations§
impl Freeze for Escrow
impl RefUnwindSafe for Escrow
impl Send for Escrow
impl Sync for Escrow
impl Unpin for Escrow
impl UnwindSafe for Escrow
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