pub struct BankTransferEvent {
    pub event_id: i64,
    pub timestamp: String,
    pub event_type: BankTransferEventType,
    pub account_id: String,
    pub bank_transfer_id: BankTransferID,
    pub origination_account_id: Option<String>,
    pub bank_transfer_type: BankTransferType,
    pub bank_transfer_amount: String,
    pub bank_transfer_iso_currency_code: String,
    pub failure_reason: BankTransferFailure,
    pub direction: BankTransferDirection,
}

Fields

event_id: i64

Plaid’s unique identifier for this event. IDs are sequential unsigned 64-bit integers.

timestamp: String

The datetime when this event occurred. This will be of the form 2006-01-02T15:04:05Z.

event_type: BankTransferEventType

The type of event that this bank transfer represents.

pending: A new transfer was created; it is in the pending state.

cancelled: The transfer was cancelled by the client.

failed: The transfer failed, no funds were moved.

posted: The transfer has been successfully submitted to the payment network.

reversed: A posted transfer was reversed.

account_id: String

The account ID associated with the bank transfer.

bank_transfer_id: BankTransferID

Plaid’s unique identifier for a bank transfer.

origination_account_id: Option<String>

The ID of the origination account that this balance belongs to.

bank_transfer_type: BankTransferType

The type of bank transfer. This will be either debit or credit. A debit indicates a transfer of money into the origination account; a credit indicates a transfer of money out of the origination account.

bank_transfer_amount: String

The bank transfer amount.

bank_transfer_iso_currency_code: String

The currency of the bank transfer amount.

failure_reason: BankTransferFailure

The failure reason if the type of this transfer is "failed" or "reversed". Null value otherwise.

direction: BankTransferDirection

Indicates the direction of the transfer: outbound for API-initiated transfers, or inbound for payments received by the FBO 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