pub trait FinancialProductTrait {
// Required methods
fn get_annual_percentage_rate(&self) -> &[AnnualPercentageRateProperty];
fn take_annual_percentage_rate(
&mut self
) -> Vec<AnnualPercentageRateProperty>;
fn get_fees_and_commissions_specification(
&self
) -> &[FeesAndCommissionsSpecificationProperty];
fn take_fees_and_commissions_specification(
&mut self
) -> Vec<FeesAndCommissionsSpecificationProperty>;
fn get_interest_rate(&self) -> &[InterestRateProperty];
fn take_interest_rate(&mut self) -> Vec<InterestRateProperty>;
}
Expand description
This trait is for properties from https://schema.org/FinancialProduct.
Required Methods§
sourcefn get_annual_percentage_rate(&self) -> &[AnnualPercentageRateProperty]
fn get_annual_percentage_rate(&self) -> &[AnnualPercentageRateProperty]
Get https://schema.org/annualPercentageRate from Self
as borrowed slice.
sourcefn take_annual_percentage_rate(&mut self) -> Vec<AnnualPercentageRateProperty>
fn take_annual_percentage_rate(&mut self) -> Vec<AnnualPercentageRateProperty>
Take https://schema.org/annualPercentageRate from Self
as owned vector.
sourcefn get_fees_and_commissions_specification(
&self
) -> &[FeesAndCommissionsSpecificationProperty]
fn get_fees_and_commissions_specification( &self ) -> &[FeesAndCommissionsSpecificationProperty]
Get https://schema.org/feesAndCommissionsSpecification from Self
as borrowed slice.
sourcefn take_fees_and_commissions_specification(
&mut self
) -> Vec<FeesAndCommissionsSpecificationProperty>
fn take_fees_and_commissions_specification( &mut self ) -> Vec<FeesAndCommissionsSpecificationProperty>
Take https://schema.org/feesAndCommissionsSpecification from Self
as owned vector.
sourcefn get_interest_rate(&self) -> &[InterestRateProperty]
fn get_interest_rate(&self) -> &[InterestRateProperty]
Get https://schema.org/interestRate from Self
as borrowed slice.
sourcefn take_interest_rate(&mut self) -> Vec<InterestRateProperty>
fn take_interest_rate(&mut self) -> Vec<InterestRateProperty>
Take https://schema.org/interestRate from Self
as owned vector.