pub struct NettingPosition {
pub entity_id: String,
pub gross_receivable: Decimal,
pub gross_payable: Decimal,
pub net_position: Decimal,
pub settlement_direction: PayOrReceive,
}Expand description
A netting position for a single entity within a netting run.
Fields§
§entity_id: StringEntity identifier
gross_receivable: DecimalGross amount receivable from other entities
gross_payable: DecimalGross amount payable to other entities
net_position: DecimalNet position (receivable - payable)
settlement_direction: PayOrReceiveWhether this entity pays or receives
Trait Implementations§
Source§impl Clone for NettingPosition
impl Clone for NettingPosition
Source§fn clone(&self) -> NettingPosition
fn clone(&self) -> NettingPosition
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 NettingPosition
impl Debug for NettingPosition
Source§impl<'de> Deserialize<'de> for NettingPosition
impl<'de> Deserialize<'de> for NettingPosition
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
Auto Trait Implementations§
impl Freeze for NettingPosition
impl RefUnwindSafe for NettingPosition
impl Send for NettingPosition
impl Sync for NettingPosition
impl Unpin for NettingPosition
impl UnsafeUnpin for NettingPosition
impl UnwindSafe for NettingPosition
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