Struct AnbimaQuote
pub struct AnbimaQuote {
pub parcels: Vec<AnbimaParcel>,
pub cotacao: f64,
pub price: f64,
}Expand description
An ANBIMA quotation: its parcels, the quotation, and the unit price.
Fields§
§parcels: Vec<AnbimaParcel>The discounted parcels, in payment order.
cotacao: f64The quotation (cotação, per cent of VNA), truncated to four decimals.
price: f64The unit price VNA · cotação/100, truncated to six decimals.
Trait Implementations§
§impl Clone for AnbimaQuote
impl Clone for AnbimaQuote
§fn clone(&self) -> AnbimaQuote
fn clone(&self) -> AnbimaQuote
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 AnbimaQuote
impl Debug for AnbimaQuote
§impl PartialEq for AnbimaQuote
impl PartialEq for AnbimaQuote
impl StructuralPartialEq for AnbimaQuote
Auto Trait Implementations§
impl Freeze for AnbimaQuote
impl RefUnwindSafe for AnbimaQuote
impl Send for AnbimaQuote
impl Sync for AnbimaQuote
impl Unpin for AnbimaQuote
impl UnsafeUnpin for AnbimaQuote
impl UnwindSafe for AnbimaQuote
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