pub struct EventCursor {
pub i: String,
pub v: u16,
pub t: u64,
pub s: u32,
}Expand description
Cursor data for event pagination.
Used internally for base64-encoded cursor values in paginated queries. Contains the essential fields needed to uniquely identify an event’s position.
Fields§
§i: StringEvent ID (ULID string)
v: u16Event version
t: u64Event timestamp (Unix timestamp in seconds)
s: u32Sub-second precision (milliseconds)
Trait Implementations§
Source§impl Debug for EventCursor
impl Debug for EventCursor
impl<'__de> Decode<'__de> for EventCursorwhere
'__de:,
impl Encode for EventCursor
Auto Trait Implementations§
impl Freeze for EventCursor
impl RefUnwindSafe for EventCursor
impl Send for EventCursor
impl Sync for EventCursor
impl Unpin for EventCursor
impl UnwindSafe for EventCursor
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