pub struct Loan { /* private fields */ }Implementations§
Trait Implementations§
impl Copy for Loan
impl Eq for Loan
Source§impl LedgerObjectCommonFields for Loan
impl LedgerObjectCommonFields for Loan
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 LoanFields for Loan
impl LoanFields for Loan
Source§fn previous_txn_id(&self) -> Result<Hash256>
fn previous_txn_id(&self) -> Result<Hash256>
Identifies the transaction ID that most recently modified this object.
Source§fn previous_txn_lgr_seq(&self) -> Result<u32>
fn previous_txn_lgr_seq(&self) -> Result<u32>
The sequence of the ledger that contains the transaction that most recently modified this
object.
Source§fn owner_node(&self) -> Result<u64>
fn owner_node(&self) -> Result<u64>
Identifies the page where this item is referenced in the owner’s directory.
Source§fn loan_broker_node(&self) -> Result<u64>
fn loan_broker_node(&self) -> Result<u64>
Identifies the page where this item is referenced in the
LoanBroker owner directory.Source§fn loan_broker_id(&self) -> Result<Hash256>
fn loan_broker_id(&self) -> Result<Hash256>
The ID of the Loan Broker associated with this loan.
Source§fn loan_sequence(&self) -> Result<u32>
fn loan_sequence(&self) -> Result<u32>
The sequence number of the loan.
Source§fn loan_origination_fee(&self) -> Result<Option<Number>>
fn loan_origination_fee(&self) -> Result<Option<Number>>
The amount paid to the Loan Broker, taken from the principal loan at creation.
Source§fn loan_service_fee(&self) -> Result<Option<Number>>
fn loan_service_fee(&self) -> Result<Option<Number>>
The amount paid to the Loan Broker with each loan payment.
Source§fn late_payment_fee(&self) -> Result<Option<Number>>
fn late_payment_fee(&self) -> Result<Option<Number>>
The amount paid to the Loan Broker for each late payment.
Source§fn close_payment_fee(&self) -> Result<Option<Number>>
fn close_payment_fee(&self) -> Result<Option<Number>>
The amount paid to the Loan Broker when a full early payment is made.
Source§fn overpayment_fee(&self) -> Result<Option<u32>>
fn overpayment_fee(&self) -> Result<Option<u32>>
The fee charged on overpayments, in units of 1/10th basis points. Valid values are 0 to
100000 (inclusive), representing 0% to 100%.
Source§fn interest_rate(&self) -> Result<Option<u32>>
fn interest_rate(&self) -> Result<Option<u32>>
The annualized interest rate of the loan, in 1/10th basis points.
Source§fn late_interest_rate(&self) -> Result<Option<u32>>
fn late_interest_rate(&self) -> Result<Option<u32>>
The premium added to the interest rate for late payments, in units of 1/10th basis points.
Valid values are 0 to 100000 (inclusive), representing 0% to 100%.
Source§fn close_interest_rate(&self) -> Result<Option<u32>>
fn close_interest_rate(&self) -> Result<Option<u32>>
The interest rate charged for repaying the loan early, in units of 1/10th basis points.
Valid values are 0 to 100000 (inclusive), representing 0% to 100%.
Source§fn overpayment_interest_rate(&self) -> Result<Option<u32>>
fn overpayment_interest_rate(&self) -> Result<Option<u32>>
The interest rate charged on overpayments, in units of 1/10th basis points. Valid values are
0 to 100000 (inclusive), representing 0% to 100%.
Source§fn start_date(&self) -> Result<u32>
fn start_date(&self) -> Result<u32>
The timestamp of when the loan started, in seconds since the Ripple Epoch.
Source§fn payment_interval(&self) -> Result<u32>
fn payment_interval(&self) -> Result<u32>
The number of seconds between loan payments.
Source§fn grace_period(&self) -> Result<Option<u32>>
fn grace_period(&self) -> Result<Option<u32>>
The number of seconds after a loan payment is due before the loan defaults.
Source§fn previous_payment_due_date(&self) -> Result<Option<u32>>
fn previous_payment_due_date(&self) -> Result<Option<u32>>
The timestamp of when the previous payment was made, in seconds since the Ripple Epoch.
Source§fn next_payment_due_date(&self) -> Result<Option<u32>>
fn next_payment_due_date(&self) -> Result<Option<u32>>
The timestamp of when the next payment is due, in seconds since the Ripple Epoch.
Source§fn payment_remaining(&self) -> Result<Option<u32>>
fn payment_remaining(&self) -> Result<Option<u32>>
The number of payments remaining on the loan.
Source§fn periodic_payment(&self) -> Result<Number>
fn periodic_payment(&self) -> Result<Number>
The amount due for each payment interval.
Source§fn principal_outstanding(&self) -> Result<Option<Number>>
fn principal_outstanding(&self) -> Result<Option<Number>>
The principal amount still owed on the loan.
Source§fn total_value_outstanding(&self) -> Result<Option<Number>>
fn total_value_outstanding(&self) -> Result<Option<Number>>
The total amount owed on the loan, including remaining principal and fees.
impl StructuralPartialEq for Loan
Auto Trait Implementations§
impl Freeze for Loan
impl RefUnwindSafe for Loan
impl Send for Loan
impl Sync for Loan
impl Unpin for Loan
impl UnsafeUnpin for Loan
impl UnwindSafe for Loan
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