Struct StatedExchange
pub struct StatedExchange {
pub stream: usize,
pub date: NaiveDate,
pub amount: f64,
}Expand description
One principalExchange of a stream’s stated cashflows.
Fields§
§stream: usizeThe one-based swap stream the exchange belongs to.
date: NaiveDateThe exchange date the block states: adjusted, else unadjusted.
amount: f64The amount as stated, with the document’s own sign.
Trait Implementations§
§impl Clone for StatedExchange
impl Clone for StatedExchange
§fn clone(&self) -> StatedExchange
fn clone(&self) -> StatedExchange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for StatedExchange
impl Debug for StatedExchange
§impl PartialEq for StatedExchange
impl PartialEq for StatedExchange
impl StructuralPartialEq for StatedExchange
Auto Trait Implementations§
impl Freeze for StatedExchange
impl RefUnwindSafe for StatedExchange
impl Send for StatedExchange
impl Sync for StatedExchange
impl Unpin for StatedExchange
impl UnsafeUnpin for StatedExchange
impl UnwindSafe for StatedExchange
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