pub struct FetchResult {
pub markets: Vec<Value>,
pub final_cursor: Option<String>,
pub total_fetched: usize,
}Expand description
Result of a checkpointed fetch operation.
Fields§
§markets: Vec<Value>Remaining markets that weren’t flushed to a checkpoint (< checkpoint_interval)
final_cursor: Option<String>Final cursor value for logging/debugging
total_fetched: usizeTotal number of markets fetched across all pages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FetchResult
impl RefUnwindSafe for FetchResult
impl Send for FetchResult
impl Sync for FetchResult
impl Unpin for FetchResult
impl UnsafeUnpin for FetchResult
impl UnwindSafe for FetchResult
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