Skip to main content

Module history_api

Module history_api 

Source
Expand description

Gmail History API wrapper.

Same cursor-pagination shape as crate::gmail::messages_api::MessagesApi, but startHistoryId is a required parameter rather than an optional filter. Recovered (and adapted — see crate::gmail::types::HistoryMessageRef) from Phase 1’s 0db5a605 deletion; gmail sync’s incremental path (src/cli/gmail/sync/engine.rs) is the intended, and first, caller.

Structs§

HistoryApi
History API façade.

Constants§

HARD_CAP
Per-call upper bound on the number of history records returned by HistoryApi::list_all, even when the caller passes limit = 0.
HISTORY_LIST_COST_UNITS
Quota-unit cost of one history.list page request, per Google’s documented per-method quota cost table.
MAX_PAGE_LIMIT
Maximum page size accepted by GET /gmail/v1/users/{userId}/history.