pub struct ActivityTally {
pub recorded: u64,
pub retained: u64,
pub source_high_water: u64,
pub latest: Option<LatestActivity>,
}Expand description
What one run’s activity amounts to, kept so retention cannot erase the fact of its silence or the boundary that makes retries safe.
Fields§
§recorded: u64Records ever received for the run. The count wraps at u64::MAX.
retained: u64Records the feed still holds for it.
source_high_water: u64The highest source_sequence accepted; zero before any activity. A record at or below it
that is no longer retained is expired, never recorded again.
latest: Option<LatestActivity>The latest record received, even when retention has since removed it.
Trait Implementations§
Source§impl Clone for ActivityTally
impl Clone for ActivityTally
Source§impl Debug for ActivityTally
impl Debug for ActivityTally
Source§impl<'de> Deserialize<'de> for ActivityTally
impl<'de> Deserialize<'de> for ActivityTally
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ActivityTally
Source§impl PartialEq for ActivityTally
impl PartialEq for ActivityTally
Source§impl Serialize for ActivityTally
impl Serialize for ActivityTally
impl StructuralPartialEq for ActivityTally
Auto Trait Implementations§
impl Freeze for ActivityTally
impl RefUnwindSafe for ActivityTally
impl Send for ActivityTally
impl Sync for ActivityTally
impl Unpin for ActivityTally
impl UnsafeUnpin for ActivityTally
impl UnwindSafe for ActivityTally
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