pub struct Entry {
pub subject: String,
pub value: BigInt,
pub sources: CounterSources,
pub increment: Option<BigInt>,
}Expand description
Represents a counter’s current state with full source history.
Fields§
§subject: StringThe counter’s subject name.
value: BigIntThe current counter value.
sources: CounterSourcesMaps source identifiers to their subject-value contributions.
increment: Option<BigInt>Most recent increment value for this entry. Useful for recounting and auditing purposes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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