#[repr(C)]pub struct Transfer {}Expand description
TigerBeetle Transfer (128 bytes).
Transfers move value between accounts by debiting one and crediting another.
Fields§
§id: u128Unique identifier for the transfer.
debit_account_id: u128Account ID to debit.
credit_account_id: u128Account ID to credit.
amount: u128Amount to transfer.
pending_id: u128ID of pending transfer to post or void (0 if not applicable).
user_data_128: u128Opaque user data for external linking (128-bit indexed).
user_data_64: u64Opaque user data for external linking (64-bit indexed).
user_data_32: u32Opaque user data for external linking (32-bit indexed).
timeout: u32Timeout in seconds for pending transfers.
ledger: u32The ledger this transfer operates on.
code: u16Chart of accounts code describing the transfer type.
flags: TransferFlagsTransfer flags.
timestamp: u64Timestamp when the transfer was created (set by server).
Trait Implementations§
impl Copy for Transfer
impl Eq for Transfer
impl StructuralPartialEq for Transfer
Auto Trait Implementations§
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnwindSafe for Transfer
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