Expand description
HTTP/JSON transport every Gmail coroutine delegates to.
Builds the authorized request and parses the JSON response, or the Gmail error envelope on failure.
Gmail API reference: https://developers.google.com/gmail/api/reference/rest.
Structs§
- Gmail
NoResponse - Unit marker deserialized from empty 2xx bodies (DELETE, batch operations, stop).
- Gmail
Send - I/O-free coroutine sending one authorized HTTP request and parsing
the JSON response into
T. - Gmail
Send Output - Terminal value of a successful Gmail exchange.
Enums§
- Gmail
Send Error - Errors that can occur during a Gmail exchange.
Constants§
- GMAIL_
API_ BASE - Base URL of the Gmail REST API v1.
Functions§
- parse_
api_ error - Parses Gmail’s JSON error envelope, falling back to the raw body; returns the effective status code and message.