Struct Redemption
pub struct Redemption {
pub payment_date: NaiveDate,
pub payment_ordinal: i32,
pub amount: f64,
pub currency: Currency,
}Expand description
A dated payment of a known amount — a redemption, a fee, a notional exchange.
Fields§
§payment_date: NaiveDateThe payment date.
payment_ordinal: i32The payment date as a proleptic-Gregorian day number.
amount: f64The amount paid. Contract data.
currency: CurrencyThe currency.
Trait Implementations§
§impl Clone for Redemption
impl Clone for Redemption
§fn clone(&self) -> Redemption
fn clone(&self) -> Redemption
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 Redemption
impl Debug for Redemption
§impl PartialEq for Redemption
impl PartialEq for Redemption
impl StructuralPartialEq for Redemption
Auto Trait Implementations§
impl Freeze for Redemption
impl RefUnwindSafe for Redemption
impl Send for Redemption
impl Sync for Redemption
impl Unpin for Redemption
impl UnsafeUnpin for Redemption
impl UnwindSafe for Redemption
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