pub struct FormationsSnapshot {
pub formations: Vec<FormationRecord>,
pub cursor: u64,
}Expand description
Response shape for GET /v1/formations per ADR-0015 §D2. The
cursor is the highest JetStream stream-sequence the server’s
projection has applied; clients hand it back as
/ws/events?since=<cursor> so they can resume the live stream
without missing any event between the snapshot and the WS open.
Fields§
§formations: Vec<FormationRecord>§cursor: u64Trait Implementations§
Source§impl Debug for FormationsSnapshot
impl Debug for FormationsSnapshot
Auto Trait Implementations§
impl Freeze for FormationsSnapshot
impl RefUnwindSafe for FormationsSnapshot
impl Send for FormationsSnapshot
impl Sync for FormationsSnapshot
impl Unpin for FormationsSnapshot
impl UnsafeUnpin for FormationsSnapshot
impl UnwindSafe for FormationsSnapshot
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