pub trait RepaymentSpecificationTrait {
// Required methods
fn get_down_payment(&self) -> &[DownPaymentProperty];
fn take_down_payment(&mut self) -> Vec<DownPaymentProperty>;
fn get_early_prepayment_penalty(&self) -> &[EarlyPrepaymentPenaltyProperty];
fn take_early_prepayment_penalty(
&mut self
) -> Vec<EarlyPrepaymentPenaltyProperty>;
fn get_loan_payment_amount(&self) -> &[LoanPaymentAmountProperty];
fn take_loan_payment_amount(&mut self) -> Vec<LoanPaymentAmountProperty>;
fn get_loan_payment_frequency(&self) -> &[LoanPaymentFrequencyProperty];
fn take_loan_payment_frequency(
&mut self
) -> Vec<LoanPaymentFrequencyProperty>;
fn get_number_of_loan_payments(&self) -> &[NumberOfLoanPaymentsProperty];
fn take_number_of_loan_payments(
&mut self
) -> Vec<NumberOfLoanPaymentsProperty>;
}
Expand description
This trait is for properties from https://schema.org/RepaymentSpecification.
Required Methods§
sourcefn get_down_payment(&self) -> &[DownPaymentProperty]
fn get_down_payment(&self) -> &[DownPaymentProperty]
Get https://schema.org/downPayment from Self
as borrowed slice.
sourcefn take_down_payment(&mut self) -> Vec<DownPaymentProperty>
fn take_down_payment(&mut self) -> Vec<DownPaymentProperty>
Take https://schema.org/downPayment from Self
as owned vector.
sourcefn get_early_prepayment_penalty(&self) -> &[EarlyPrepaymentPenaltyProperty]
fn get_early_prepayment_penalty(&self) -> &[EarlyPrepaymentPenaltyProperty]
Get https://schema.org/earlyPrepaymentPenalty from Self
as borrowed slice.
sourcefn take_early_prepayment_penalty(
&mut self
) -> Vec<EarlyPrepaymentPenaltyProperty>
fn take_early_prepayment_penalty( &mut self ) -> Vec<EarlyPrepaymentPenaltyProperty>
Take https://schema.org/earlyPrepaymentPenalty from Self
as owned vector.
sourcefn get_loan_payment_amount(&self) -> &[LoanPaymentAmountProperty]
fn get_loan_payment_amount(&self) -> &[LoanPaymentAmountProperty]
Get https://schema.org/loanPaymentAmount from Self
as borrowed slice.
sourcefn take_loan_payment_amount(&mut self) -> Vec<LoanPaymentAmountProperty>
fn take_loan_payment_amount(&mut self) -> Vec<LoanPaymentAmountProperty>
Take https://schema.org/loanPaymentAmount from Self
as owned vector.
sourcefn get_loan_payment_frequency(&self) -> &[LoanPaymentFrequencyProperty]
fn get_loan_payment_frequency(&self) -> &[LoanPaymentFrequencyProperty]
Get https://schema.org/loanPaymentFrequency from Self
as borrowed slice.
sourcefn take_loan_payment_frequency(&mut self) -> Vec<LoanPaymentFrequencyProperty>
fn take_loan_payment_frequency(&mut self) -> Vec<LoanPaymentFrequencyProperty>
Take https://schema.org/loanPaymentFrequency from Self
as owned vector.
sourcefn get_number_of_loan_payments(&self) -> &[NumberOfLoanPaymentsProperty]
fn get_number_of_loan_payments(&self) -> &[NumberOfLoanPaymentsProperty]
Get https://schema.org/numberOfLoanPayments from Self
as borrowed slice.
sourcefn take_number_of_loan_payments(&mut self) -> Vec<NumberOfLoanPaymentsProperty>
fn take_number_of_loan_payments(&mut self) -> Vec<NumberOfLoanPaymentsProperty>
Take https://schema.org/numberOfLoanPayments from Self
as owned vector.