Struct plaid::model::StudentLoan

source ·
pub struct StudentLoan {
Show 24 fields pub account_id: Option<String>, pub account_number: Option<String>, pub disbursement_dates: Option<Vec<NaiveDate>>, pub expected_payoff_date: Option<NaiveDate>, pub guarantor: Option<String>, pub interest_rate_percentage: f64, pub is_overdue: Option<bool>, pub last_payment_amount: Option<f64>, pub last_payment_date: Option<NaiveDate>, pub last_statement_issue_date: Option<NaiveDate>, pub loan_name: Option<String>, pub loan_status: StudentLoanStatus, pub minimum_payment_amount: Option<f64>, pub next_payment_due_date: Option<NaiveDate>, pub origination_date: Option<NaiveDate>, pub origination_principal_amount: Option<f64>, pub outstanding_interest_amount: Option<f64>, pub payment_reference_number: Option<String>, pub pslf_status: PslfStatus, pub repayment_plan: StudentRepaymentPlan, pub sequence_number: Option<String>, pub servicer_address: ServicerAddressData, pub ytd_interest_paid: Option<f64>, pub ytd_principal_paid: Option<f64>,
}
Expand description

Contains details about a student loan account

Fields§

§account_id: Option<String>

The ID of the account that this liability belongs to.

§account_number: Option<String>

The account number of the loan. For some institutions, this may be a masked version of the number (e.g., the last 4 digits instead of the entire number).

§disbursement_dates: Option<Vec<NaiveDate>>

The dates on which loaned funds were disbursed or will be disbursed. These are often in the past. Dates are returned in an ISO 8601 format (YYYY-MM-DD).

§expected_payoff_date: Option<NaiveDate>

The date when the student loan is expected to be paid off. Availability for this field is limited. Dates are returned in an ISO 8601 format (YYYY-MM-DD).

§guarantor: Option<String>

The guarantor of the student loan.

§interest_rate_percentage: f64

The interest rate on the loan as a percentage.

§is_overdue: Option<bool>

true if a payment is currently overdue. Availability for this field is limited.

§last_payment_amount: Option<f64>

The amount of the last payment.

§last_payment_date: Option<NaiveDate>

The date of the last payment. Dates are returned in an ISO 8601 format (YYYY-MM-DD).

§last_statement_issue_date: Option<NaiveDate>

The date of the last statement. Dates are returned in an ISO 8601 format (YYYY-MM-DD).

§loan_name: Option<String>

The type of loan, e.g., “Consolidation Loans”.

§loan_status: StudentLoanStatus

An object representing the status of the student loan

§minimum_payment_amount: Option<f64>

The minimum payment due for the next billing cycle. There are some exceptions: Some institutions require a minimum payment across all loans associated with an account number. Our API presents that same minimum payment amount on each loan. The institutions that do this are: Great Lakes ( ins_116861), Firstmark (ins_116295), Commonbond Firstmark Services (ins_116950), Nelnet (ins_116528), EdFinancial Services (ins_116304), Granite State (ins_116308), and Oklahoma Student Loan Authority (ins_116945). Firstmark (ins_116295 ) and Navient (ins_116248) will display as $0 if there is an autopay program in effect.

§next_payment_due_date: Option<NaiveDate>

The due date for the next payment. The due date is null if a payment is not expected. A payment is not expected if loan_status.type is deferment, in_school, consolidated, paid in full, or transferred. Dates are returned in an ISO 8601 format (YYYY-MM-DD).

§origination_date: Option<NaiveDate>

The date on which the loan was initially lent. Dates are returned in an ISO 8601 format (YYYY-MM-DD).

§origination_principal_amount: Option<f64>

The original principal balance of the loan.

§outstanding_interest_amount: Option<f64>

The total dollar amount of the accrued interest balance. For Sallie Mae ( ins_116944), this amount is included in the current balance of the loan, so this field will return as null.

§payment_reference_number: Option<String>

The relevant account number that should be used to reference this loan for payments. In the majority of cases, payment_reference_number will match account_number, but in some institutions, such as Great Lakes (ins_116861), it will be different.

§pslf_status: PslfStatus

Information about the student’s eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (ins_116527).

§repayment_plan: StudentRepaymentPlan

An object representing the repayment plan for the student loan

§sequence_number: Option<String>

The sequence number of the student loan. Heartland ECSI (ins_116948) does not make this field available.

§servicer_address: ServicerAddressData

The address of the student loan servicer. This is generally the remittance address to which payments should be sent.

§ytd_interest_paid: Option<f64>

The year to date (YTD) interest paid. Availability for this field is limited.

§ytd_principal_paid: Option<f64>

The year to date (YTD) principal paid. Availability for this field is limited.

Trait Implementations§

source§

impl Clone for StudentLoan

source§

fn clone(&self) -> StudentLoan

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StudentLoan

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StudentLoan

source§

fn default() -> StudentLoan

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for StudentLoan

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StudentLoan

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for StudentLoan

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,