pub struct ReceiptQueryResult {
pub receipts: Vec<StoredToolReceipt>,
pub total_count: u64,
pub next_cursor: Option<u64>,
}Expand description
Result of a receipt query, including pagination state.
Fields§
§receipts: Vec<StoredToolReceipt>Receipts matching the query filters, ordered by seq ASC.
total_count: u64Total number of receipts matching the filters (independent of limit/cursor).
next_cursor: Option<u64>Cursor for the next page: Some(last_seq) when more results exist, None on last page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReceiptQueryResult
impl RefUnwindSafe for ReceiptQueryResult
impl Send for ReceiptQueryResult
impl Sync for ReceiptQueryResult
impl Unpin for ReceiptQueryResult
impl UnsafeUnpin for ReceiptQueryResult
impl UnwindSafe for ReceiptQueryResult
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