[−][src]Crate async_google_apis_common
Common types, imports, and functions used by generated code, including HTTP requests and error types.
Re-exports
pub use hyper; |
pub use serde; |
pub use serde_json; |
pub use yup_oauth2; |
Macros
debug | Logs a message at the debug level. |
error | Logs a message at the error level. |
info | Logs a message at the info level. |
trace | Logs a message at the trace level. |
warn | Logs a message at the warn level. |
Structs
DateTime | ISO 8601 combined date and time with time zone. |
Download | An ongoing download. |
EmptyRequest | This type is used as type parameter to the following functions, when |
EmptyResponse | This type is used as type parameter for when no response is expected. |
Error | The |
HashMap | A hash map implemented with quadratic probing and SIMD lookup. |
ResumableUpload | A resumable upload in progress, useful for sending large objects. |
Utc | The UTC time zone. This is the most efficient time zone when you don't need the local time. It is also used as an offset (which is also a dummy type). |
Enums
ApiError | |
DownloadResult | Result of a method that can (but doesn't always) download data. |
Constants
NON_ALPHANUMERIC | Everything that is not an ASCII letter or digit. |
Traits
Deserialize | A data structure that can be deserialized from any data format supported by Serde. |
DeserializeOwned | A data structure that can be deserialized without borrowing any data from the deserializer. |
Serialize | A data structure that can be serialized into any data format supported by Serde. |
StreamExt | An extension trait for |
Functions
do_download | |
do_request | The Content-Type header is set automatically to application/json. |
do_request_with_headers | The Content-Type header is set automatically to application/json. Also returns response headers. |
do_upload_multipart | The Content-Length header is set automatically. |
percent_encode | Percent-encode the given bytes with the given set. |
Type Definitions
Authenticator | |
Result |
|
TlsClient | |
TlsConnr |
Derive Macros
Deserialize | |
Serialize |