Enum TurnPeriod
pub enum TurnPeriod {
YearEnd,
QuarterEnd,
}Expand description
Which period boundaries a TurnSchedule places turn knots on.
Variants§
YearEnd
Year-end turns (31 Dec of each year in range).
QuarterEnd
Quarter-end turns (31 Mar / 30 Jun / 30 Sep / 31 Dec).
Implementations§
§impl TurnPeriod
impl TurnPeriod
Trait Implementations§
§impl Clone for TurnPeriod
impl Clone for TurnPeriod
§fn clone(&self) -> TurnPeriod
fn clone(&self) -> TurnPeriod
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 moreimpl Copy for TurnPeriod
§impl Debug for TurnPeriod
impl Debug for TurnPeriod
impl Eq for TurnPeriod
§impl FromStr for TurnPeriod
impl FromStr for TurnPeriod
§impl Hash for TurnPeriod
impl Hash for TurnPeriod
§impl PartialEq for TurnPeriod
impl PartialEq for TurnPeriod
impl StructuralPartialEq for TurnPeriod
Auto Trait Implementations§
impl Freeze for TurnPeriod
impl RefUnwindSafe for TurnPeriod
impl Send for TurnPeriod
impl Sync for TurnPeriod
impl Unpin for TurnPeriod
impl UnsafeUnpin for TurnPeriod
impl UnwindSafe for TurnPeriod
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