Struct RepoDraft
pub(crate) struct RepoDraft<'a> {Show 16 fields
pub(crate) start: NaiveDate,
pub(crate) side: &'a str,
pub(crate) collateral: &'a PyFixedRateBond,
pub(crate) price: f64,
pub(crate) rate: Option<f64>,
pub(crate) spread: Option<f64>,
pub(crate) nominal: Option<f64>,
pub(crate) cash: Option<f64>,
pub(crate) margin_ratio: f64,
pub(crate) coupons: &'a str,
pub(crate) repo_key: Option<&'a str>,
pub(crate) isin: Option<&'a str>,
pub(crate) repo_group: Option<&'a str>,
pub(crate) margin_basis: Option<&'a str>,
pub(crate) interest_dates: Option<Vec<NaiveDate>>,
pub(crate) fx_rate: Option<f64>,
}Expand description
What a repo draft states beyond its template and far date.
Fields§
§start: NaiveDate§side: &'a str§collateral: &'a PyFixedRateBond§price: f64§rate: Option<f64>§spread: Option<f64>§nominal: Option<f64>§cash: Option<f64>§margin_ratio: f64§coupons: &'a str§repo_key: Option<&'a str>§isin: Option<&'a str>§repo_group: Option<&'a str>§margin_basis: Option<&'a str>§interest_dates: Option<Vec<NaiveDate>>§fx_rate: Option<f64>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RepoDraft<'a>
impl<'a> !UnwindSafe for RepoDraft<'a>
impl<'a> Freeze for RepoDraft<'a>
impl<'a> Send for RepoDraft<'a>
impl<'a> Sync for RepoDraft<'a>
impl<'a> Unpin for RepoDraft<'a>
impl<'a> UnsafeUnpin for RepoDraft<'a>
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