Struct Header
pub(crate) struct Header<'a> {
pub(crate) id: Option<String>,
pub(crate) trade_date: NaiveDate,
pub(crate) counterparty: Option<PartyRef>,
pub(crate) context: Context<'a>,
}Expand description
The trade-level reading: identifier, trade date, counterparty and the context a product is built in.
Fields§
§id: Option<String>§trade_date: NaiveDate§counterparty: Option<PartyRef>§context: Context<'a>Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Header<'a>
impl<'a> !UnwindSafe for Header<'a>
impl<'a> Freeze for Header<'a>
impl<'a> Send for Header<'a>
impl<'a> Sync for Header<'a>
impl<'a> Unpin for Header<'a>
impl<'a> UnsafeUnpin for Header<'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