Struct KnottedDate
pub struct KnottedDate {
pub date: NaiveDate,
pub kind: KnotKind,
}Expand description
A knot date paired with its kind, the unit a step-forward curve is built from.
Fields§
§date: NaiveDateThe knot date (a curve pillar date).
kind: KnotKindWhat the knot represents.
Implementations§
§impl KnottedDate
impl KnottedDate
Trait Implementations§
§impl Clone for KnottedDate
impl Clone for KnottedDate
§fn clone(&self) -> KnottedDate
fn clone(&self) -> KnottedDate
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 KnottedDate
impl Debug for KnottedDate
impl Eq for KnottedDate
§impl Hash for KnottedDate
impl Hash for KnottedDate
§impl PartialEq for KnottedDate
impl PartialEq for KnottedDate
impl StructuralPartialEq for KnottedDate
Auto Trait Implementations§
impl Freeze for KnottedDate
impl RefUnwindSafe for KnottedDate
impl Send for KnottedDate
impl Sync for KnottedDate
impl Unpin for KnottedDate
impl UnsafeUnpin for KnottedDate
impl UnwindSafe for KnottedDate
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