Struct Read
pub(crate) struct Read<'a, 'd> {
pub(crate) components: Vec<Component>,
pub(crate) underlying: Option<AnyInstrument>,
pub(crate) streams: Option<El<'a, 'd>>,
pub(crate) leg_of_stream: Vec<usize>,
}Expand description
What a product mapper returns: the components it books, the swap whose streams carry stated cashflows, and how its streams map to legs.
Fields§
§components: Vec<Component>§underlying: Option<AnyInstrument>§streams: Option<El<'a, 'd>>§leg_of_stream: Vec<usize>Auto Trait Implementations§
impl<'a, 'd> !RefUnwindSafe for Read<'a, 'd>
impl<'a, 'd> !UnwindSafe for Read<'a, 'd>
impl<'a, 'd> Freeze for Read<'a, 'd>
impl<'a, 'd> Send for Read<'a, 'd>
impl<'a, 'd> Sync for Read<'a, 'd>
impl<'a, 'd> Unpin for Read<'a, 'd>
impl<'a, 'd> UnsafeUnpin for Read<'a, 'd>
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