pub struct ConsumerLendingBorrowerSchema {Show 22 fields
pub id: String,
pub member_id: Option<String>,
pub type_: String,
pub name: ConsumerLendingNameSchema,
pub email: String,
pub phone_numbers: Vec<ConsumerLendingPhoneNumberSchema>,
pub birth_date: Option<String>,
pub ssn: Option<String>,
pub credit_report: Option<String>,
pub identity_evaluations: Option<Vec<ConsumerLendingIdentityEvaluationSchema>>,
pub citizenship_status: Option<String>,
pub marital_status: Option<String>,
pub residences: Option<Vec<ConsumerLendingResidenceSchema>>,
pub owned_properties: Option<Vec<ConsumerLendingOwnedPropertySchema>>,
pub employers: Option<Vec<ConsumerLendingEmployerSchema>>,
pub other_incomes: Option<Vec<ConsumerLendingIncomeSchema>>,
pub liabilities: Option<Vec<ConsumerLendingLiabilitySchema>>,
pub declarations: Option<Vec<ConsumerLendingDeclarationSchema>>,
pub consent_to_lender_contact_given: Option<bool>,
pub econsent: Option<EconsentSchema>,
pub credit_consent: Option<EconsentSchema>,
pub credit_consent_soft: Option<EconsentSchema>,
}
Fields§
§id: String
Borrower ID
member_id: Option<String>
Member ID
type_: String
Borrower type
name: ConsumerLendingNameSchema
§email: String
§phone_numbers: Vec<ConsumerLendingPhoneNumberSchema>
§birth_date: Option<String>
Birth date in ISO 8601 format
ssn: Option<String>
Social Security Number
credit_report: Option<String>
Credit report
identity_evaluations: Option<Vec<ConsumerLendingIdentityEvaluationSchema>>
§citizenship_status: Option<String>
§marital_status: Option<String>
Marital Status
residences: Option<Vec<ConsumerLendingResidenceSchema>>
§owned_properties: Option<Vec<ConsumerLendingOwnedPropertySchema>>
§employers: Option<Vec<ConsumerLendingEmployerSchema>>
§other_incomes: Option<Vec<ConsumerLendingIncomeSchema>>
§liabilities: Option<Vec<ConsumerLendingLiabilitySchema>>
§declarations: Option<Vec<ConsumerLendingDeclarationSchema>>
§consent_to_lender_contact_given: Option<bool>
If set to true, consent is given to lender contact
econsent: Option<EconsentSchema>
§credit_consent: Option<EconsentSchema>
§credit_consent_soft: Option<EconsentSchema>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ConsumerLendingBorrowerSchema
impl<'de> Deserialize<'de> for ConsumerLendingBorrowerSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConsumerLendingBorrowerSchema
impl RefUnwindSafe for ConsumerLendingBorrowerSchema
impl Send for ConsumerLendingBorrowerSchema
impl Sync for ConsumerLendingBorrowerSchema
impl Unpin for ConsumerLendingBorrowerSchema
impl UnwindSafe for ConsumerLendingBorrowerSchema
Blanket Implementations§
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