pub struct RippleState { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for RippleState
impl Clone for RippleState
Source§fn clone(&self) -> RippleState
fn clone(&self) -> RippleState
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 RippleState
Source§impl Debug for RippleState
impl Debug for RippleState
impl Eq for RippleState
Source§impl LedgerObjectCommonFields for RippleState
impl LedgerObjectCommonFields for RippleState
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 RippleState
impl PartialEq for RippleState
Source§impl RippleStateFields for RippleState
impl RippleStateFields for RippleState
Source§fn balance(&self) -> Result<Amount>
fn balance(&self) -> Result<Amount>
The balance of the trust line, from the perspective of the low account. A negative balance
indicates that the high account holds tokens issued by the low account. The issuer in this
is always set to the neutral value ACCOUNT_ONE.
Source§fn low_limit(&self) -> Result<Amount>
fn low_limit(&self) -> Result<Amount>
The limit that the low account has set on the trust line. The
issuer is the address of the
low account that set this limit.Source§fn high_limit(&self) -> Result<Amount>
fn high_limit(&self) -> Result<Amount>
The limit that the high account has set on the trust line. The
issuer is the address of
the high account that set this limit.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 index of the ledger that contains the transaction that most recently modified this
entry.
Source§fn low_node(&self) -> Result<Option<u64>>
fn low_node(&self) -> Result<Option<u64>>
(Omitted in some historical ledgers) A hint indicating which page of the low account’s owner
directory links to this entry, in case the directory consists of multiple pages.
Source§fn low_quality_in(&self) -> Result<Option<u32>>
fn low_quality_in(&self) -> Result<Option<u32>>
The inbound quality set by the low account, as an integer in the implied ratio
LowQualityIn:1,000,000,000. As a special case, the value 0 is equivalent to 1 billion, or
face value.Source§fn low_quality_out(&self) -> Result<Option<u32>>
fn low_quality_out(&self) -> Result<Option<u32>>
The outbound quality set by the low account, as an integer in the implied ratio
LowQualityOut:1,000,000,000. As a special case, the value 0 is equivalent to 1 billion, or
face value.Source§fn high_node(&self) -> Result<Option<u64>>
fn high_node(&self) -> Result<Option<u64>>
(Omitted in some historical ledgers) A hint indicating which page of the high account’s
owner directory links to this entry, in case the directory consists of multiple pages.
Source§fn high_quality_in(&self) -> Result<Option<u32>>
fn high_quality_in(&self) -> Result<Option<u32>>
The inbound quality set by the high account, as an integer in the implied ratio
HighQualityIn:1,000,000,000. As a special case, the value 0 is equivalent to 1 billion, or
face value.Source§fn high_quality_out(&self) -> Result<Option<u32>>
fn high_quality_out(&self) -> Result<Option<u32>>
The outbound quality set by the high account, as an integer in the implied ratio
HighQualityOut:1,000,000,000. As a special case, the value 0 is equivalent to 1 billion,
or face value.impl StructuralPartialEq for RippleState
Auto Trait Implementations§
impl Freeze for RippleState
impl RefUnwindSafe for RippleState
impl Send for RippleState
impl Sync for RippleState
impl Unpin for RippleState
impl UnsafeUnpin for RippleState
impl UnwindSafe for RippleState
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