Struct plaid_openapi::BankTransferEvent
source · [−]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: i64Plaid’s unique identifier for this event. IDs are sequential unsigned 64-bit integers.
timestamp: StringThe datetime when this event occurred. This will be of the form 2006-01-02T15:04:05Z.
event_type: BankTransferEventTypeThe 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: StringThe account ID associated with the bank transfer.
bank_transfer_id: BankTransferIDPlaid’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: BankTransferTypeThe 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: StringThe bank transfer amount.
bank_transfer_iso_currency_code: StringThe currency of the bank transfer amount.
failure_reason: BankTransferFailureThe failure reason if the type of this transfer is "failed" or "reversed". Null value otherwise.
direction: BankTransferDirectionIndicates the direction of the transfer: outbound for API-initiated transfers, or inbound for payments received by the FBO account.
Trait Implementations
sourceimpl Debug for BankTransferEvent
impl Debug for BankTransferEvent
sourceimpl<'de> Deserialize<'de> for BankTransferEvent
impl<'de> Deserialize<'de> for BankTransferEvent
sourcefn 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
sourceimpl Serialize for BankTransferEvent
impl Serialize for BankTransferEvent
Auto Trait Implementations
impl RefUnwindSafe for BankTransferEvent
impl Send for BankTransferEvent
impl Sync for BankTransferEvent
impl Unpin for BankTransferEvent
impl UnwindSafe for BankTransferEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more