pub struct CashPoolSweep {
pub id: String,
pub pool_id: String,
pub date: NaiveDate,
pub from_account_id: String,
pub to_account_id: String,
pub amount: Decimal,
pub currency: String,
}Expand description
A single sweep transaction within a cash pool.
Fields§
§id: StringUnique sweep identifier
pool_id: StringPool this sweep belongs to
date: NaiveDateDate of the sweep
from_account_id: StringSource account (balance swept from)
to_account_id: StringDestination account (balance swept to)
amount: DecimalAmount swept
currency: StringCurrency of the sweep
Trait Implementations§
Source§impl Clone for CashPoolSweep
impl Clone for CashPoolSweep
Source§fn clone(&self) -> CashPoolSweep
fn clone(&self) -> CashPoolSweep
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 CashPoolSweep
impl Debug for CashPoolSweep
Source§impl<'de> Deserialize<'de> for CashPoolSweep
impl<'de> Deserialize<'de> for CashPoolSweep
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 Serialize for CashPoolSweep
impl Serialize for CashPoolSweep
Source§impl ToNodeProperties for CashPoolSweep
impl ToNodeProperties for CashPoolSweep
Source§fn node_type_name(&self) -> &'static str
fn node_type_name(&self) -> &'static str
Entity type name (snake_case), e.g.
"uncertain_tax_position".Source§fn node_type_code(&self) -> u16
fn node_type_code(&self) -> u16
Numeric entity type code for registry, e.g.
416.Source§fn to_node_properties(&self) -> HashMap<String, GraphPropertyValue>
fn to_node_properties(&self) -> HashMap<String, GraphPropertyValue>
Convert all fields to a property map with camelCase keys.
Auto Trait Implementations§
impl Freeze for CashPoolSweep
impl RefUnwindSafe for CashPoolSweep
impl Send for CashPoolSweep
impl Sync for CashPoolSweep
impl Unpin for CashPoolSweep
impl UnsafeUnpin for CashPoolSweep
impl UnwindSafe for CashPoolSweep
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