pub struct Sponsorship { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for Sponsorship
impl Clone for Sponsorship
Source§fn clone(&self) -> Sponsorship
fn clone(&self) -> Sponsorship
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 Sponsorship
Source§impl Debug for Sponsorship
impl Debug for Sponsorship
impl Eq for Sponsorship
Source§impl LedgerObjectCommonFields for Sponsorship
impl LedgerObjectCommonFields for Sponsorship
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 Sponsorship
impl PartialEq for Sponsorship
Source§impl SponsorshipFields for Sponsorship
impl SponsorshipFields for Sponsorship
Source§fn previous_txn_id(&self) -> Result<Hash256>
fn previous_txn_id(&self) -> Result<Hash256>
The identifying hash of the transaction that most recently modified this entry.
Source§fn previous_txn_lgr_seq(&self) -> Result<u32>
fn previous_txn_lgr_seq(&self) -> Result<u32>
The ledger index of the ledger that contains the transaction that most recently modified
this entry.
Source§fn owner(&self) -> Result<AccountID>
fn owner(&self) -> Result<AccountID>
The address of the sponsor account. This account pays the reserve for this entry.
Source§fn sponsee(&self) -> Result<AccountID>
fn sponsee(&self) -> Result<AccountID>
The address of the sponsee account associated with this relationship.
Source§fn fee_amount(&self) -> Result<Option<Amount>>
fn fee_amount(&self) -> Result<Option<Amount>>
The remaining amount of XRP that the sponsor has provided for the sponsee to use for
transaction fees. The sponsor adjusts this amount using the
FeeAmountDelta field of a
SponsorshipSet transaction.Source§fn max_fee(&self) -> Result<Option<Amount>>
fn max_fee(&self) -> Result<Option<Amount>>
The maximum fee per transaction that the sponsor will cover. This field helps prevent
excessive draining of the pre-funded fee pool. If the sponsee submits a transaction with a
fee exceeding this value, the transaction fails.
Source§fn remaining_owner_count(&self) -> Result<Option<u32>>
fn remaining_owner_count(&self) -> Result<Option<u32>>
The remaining number of owner reserves the sponsor has pre-funded for the sponsee. The
sponsor adjusts this count using the
RemainingOwnerCountDelta field of a SponsorshipSet
transaction.Source§fn owner_node(&self) -> Result<u64>
fn owner_node(&self) -> Result<u64>
A hint indicating which page of the sponsor’s owner directory links to this entry, in case
the directory consists of multiple pages.
Source§fn sponsee_node(&self) -> Result<u64>
fn sponsee_node(&self) -> Result<u64>
A hint indicating which page of the sponsee’s owner directory links to this entry, in case
the directory consists of multiple pages.
impl StructuralPartialEq for Sponsorship
Auto Trait Implementations§
impl Freeze for Sponsorship
impl RefUnwindSafe for Sponsorship
impl Send for Sponsorship
impl Sync for Sponsorship
impl Unpin for Sponsorship
impl UnsafeUnpin for Sponsorship
impl UnwindSafe for Sponsorship
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