pub struct MoneyTransfer {Show 16 fields
pub external_id: String,
pub move_money_transfer_id: Option<String>,
pub pot_account_id: Option<String>,
pub pot_id: String,
pub pot_name: Option<String>,
pub transaction_description_localised: Option<StringBoolean>,
pub transaction_locale_country: Option<String>,
pub trigger: MoneyTransferTrigger,
pub user_id: Option<String>,
pub money_transfer_id: Option<String>,
pub pot_withdrawal_id: Option<String>,
pub pot_deposit_id: Option<String>,
pub covering_date: Option<NaiveDate>,
pub hold_decision: Option<HoldDecision>,
pub ledger_details: LedgerDetails,
pub extra: ExtraValues,
}Expand description
A move of money between pots or accounts
Fields§
§external_id: String§move_money_transfer_id: Option<String>§pot_account_id: Option<String>§pot_id: String§pot_name: Option<String>§transaction_description_localised: Option<StringBoolean>§transaction_locale_country: Option<String>§trigger: MoneyTransferTrigger§user_id: Option<String>§money_transfer_id: Option<String>Only present on a pot withdrawal
pot_withdrawal_id: Option<String>Only present on a pot withdrawal
pot_deposit_id: Option<String>Only present on a pot deposit
covering_date: Option<NaiveDate>§hold_decision: Option<HoldDecision>§ledger_details: LedgerDetails§extra: ExtraValuesThe value had extra fields that weren’t parsed into another field.
Trait Implementations§
Source§impl Clone for MoneyTransfer
impl Clone for MoneyTransfer
Source§fn clone(&self) -> MoneyTransfer
fn clone(&self) -> MoneyTransfer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoneyTransfer
impl Debug for MoneyTransfer
Source§impl<'de> Deserialize<'de> for MoneyTransfer
impl<'de> Deserialize<'de> for MoneyTransfer
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
Source§impl HasExtraData for MoneyTransfer
Available on crate feature decode_everything only.
impl HasExtraData for MoneyTransfer
Available on crate feature
decode_everything only.Source§fn has_extra_data(&self) -> bool
fn has_extra_data(&self) -> bool
Recursively check if any extra data is present on this object or
any of it’s children.
Source§impl PartialEq for MoneyTransfer
impl PartialEq for MoneyTransfer
impl StructuralPartialEq for MoneyTransfer
Auto Trait Implementations§
impl Freeze for MoneyTransfer
impl RefUnwindSafe for MoneyTransfer
impl Send for MoneyTransfer
impl Sync for MoneyTransfer
impl Unpin for MoneyTransfer
impl UnwindSafe for MoneyTransfer
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