pub struct AnnotationTimeline { /* private fields */ }Expand description
Deterministic annotation schedule and research-only retention.
Implementations§
Source§impl AnnotationTimeline
impl AnnotationTimeline
pub fn new(limits: AnnotationLimits) -> Self
pub fn add( &mut self, annotation: StrategyAnnotation, advanced_through: Option<NaiveDateTime>, ) -> Result<(), AnnotationError>
pub fn pending_causal(&self) -> &[StrategyAnnotation]
pub fn research_only(&self) -> &[StrategyAnnotation]
pub fn total_count(&self) -> usize
Trait Implementations§
Source§impl Clone for AnnotationTimeline
impl Clone for AnnotationTimeline
Auto Trait Implementations§
impl Freeze for AnnotationTimeline
impl RefUnwindSafe for AnnotationTimeline
impl Send for AnnotationTimeline
impl Sync for AnnotationTimeline
impl Unpin for AnnotationTimeline
impl UnsafeUnpin for AnnotationTimeline
impl UnwindSafe for AnnotationTimeline
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