Struct Deliverable
pub struct Deliverable {
pub key: String,
pub bond: FixedRateBond,
pub conversion_factor: f64,
pub repo_group: Option<String>,
}Expand description
A basket entry already resolved to the bond it delivers — what the analytics consume. The security-master path builds these from ISINs; a caller holding bonds already builds them directly.
Fields§
§key: StringNames the row, and is the security-tier key of the carry cascade. The ISIN on the security-master path.
bond: FixedRateBondThe bond delivered.
conversion_factor: f64The exchange-published conversion factor.
repo_group: Option<String>The group-tier key of the carry cascade, tried after key. The
security’s repo group on the security-master path.
Trait Implementations§
§impl Clone for Deliverable
impl Clone for Deliverable
§fn clone(&self) -> Deliverable
fn clone(&self) -> Deliverable
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 Deliverable
impl Debug for Deliverable
§impl PartialEq for Deliverable
impl PartialEq for Deliverable
impl StructuralPartialEq for Deliverable
Auto Trait Implementations§
impl !RefUnwindSafe for Deliverable
impl !UnwindSafe for Deliverable
impl Freeze for Deliverable
impl Send for Deliverable
impl Sync for Deliverable
impl Unpin for Deliverable
impl UnsafeUnpin for Deliverable
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