pub struct OverrideAccounts {
Show 14 fields pub type_: OverrideAccountType, pub subtype: AccountSubtype, pub starting_balance: f64, pub force_available_balance: f64, pub currency: String, pub meta: Meta, pub numbers: Numbers, pub transactions: Vec<TransactionOverride>, pub holdings: Option<HoldingsOverride>, pub investment_transactions: Option<Investments_TransactionsOverride>, pub identity: OwnerOverride, pub liability: LiabilityOverride, pub inflow_model: InflowModel, pub income: Option<IncomeOverride>,
}

Fields

type_: OverrideAccountType

investment: Investment account.

credit: Credit card

depository: Depository account

loan: Loan account

payroll: Payroll account

other: Non-specified account type

See the Account type schema for a full listing of account types and corresponding subtypes.

subtype: AccountSubtype

See the Account type schema for a full listing of account types and corresponding subtypes.

starting_balance: f64

If provided, the account will start with this amount as the current balance.

force_available_balance: f64

If provided, the account will always have this amount as its available balance, regardless of current balance or changes in transactions over time.

currency: String

ISO-4217 currency code. If provided, the account will be denominated in the given currency. Transactions will also be in this currency by default.

meta: Meta

Allows specifying the metadata of the test account

numbers: Numbers

Account and bank identifier number data used to configure the test account. All values are optional.

transactions: Vec<TransactionOverride>

Specify the list of transactions on the account.

holdings: Option<HoldingsOverride>

Specify the holdings on the account.

investment_transactions: Option<Investments_TransactionsOverride>

Specify the list of investments transactions on the account.

identity: OwnerOverride

Data about the owner or owners of an account. Any fields not specified will be filled in with default Sandbox information.

liability: LiabilityOverride

Used to configure Sandbox test data for the Liabilities product

inflow_model: InflowModel

The inflow_model allows you to foo a test account that receives regular income or make regular payments on a loan. Any transactions generated by the inflow_model will appear in addition to randomly generated test data or transactions specified by override_accounts.

income: Option<IncomeOverride>

Specify payroll data on the account.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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