pub struct Provenance {
pub span: TickRange,
pub settled: Tick,
}Expand description
Where an event comes from: the ticks it covers and when it became certain.
Fields§
§span: TickRangeThe ticks the event covers.
settled: TickThe tick at which the result became certain.
Implementations§
Source§impl Provenance
impl Provenance
Sourcepub const fn over(span: TickRange, settled: Tick) -> Self
pub const fn over(span: TickRange, settled: Tick) -> Self
A result covering span, certain at settled.
Sourcepub fn join(self, other: Provenance) -> Provenance
pub fn join(self, other: Provenance) -> Provenance
The provenance of a result built from both: the union of the spans, certain when the later of the two was.
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
impl Copy for Provenance
Source§impl Debug for Provenance
impl Debug for Provenance
impl Eq for Provenance
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
impl StructuralPartialEq for Provenance
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnsafeUnpin for Provenance
impl UnwindSafe for Provenance
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