Struct NdoTemplate
pub struct NdoTemplate {
pub name: String,
pub terms: NdoTerms,
pub template_date: NaiveDate,
}Expand description
One EMTA NDO template.
Fields§
§name: StringTemplate name (doubles as registry code), e.g. KRW-USD-NDO.
terms: NdoTermsThe terms that date and settle the option’s fixing.
template_date: NaiveDateThe effective (or dated) date of the EMTA NDO template.
Implementations§
§impl NdoTemplate
impl NdoTemplate
pub fn ndf(&self) -> NdfTemplate
pub fn ndf(&self) -> NdfTemplate
The NDF terms the option’s fixing follows.
§Panics
If an Ndf row names no registered NDF template — a wiring error the
registry test catches.
Trait Implementations§
§impl Clone for NdoTemplate
impl Clone for NdoTemplate
§fn clone(&self) -> NdoTemplate
fn clone(&self) -> NdoTemplate
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 moreAuto Trait Implementations§
impl Freeze for NdoTemplate
impl RefUnwindSafe for NdoTemplate
impl Send for NdoTemplate
impl Sync for NdoTemplate
impl Unpin for NdoTemplate
impl UnsafeUnpin for NdoTemplate
impl UnwindSafe for NdoTemplate
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