Module firebase_rest_to_rust

Source
Expand description

§Low Level API to convert between rust types and the Firebase REST API

Low level API to convert between generated rust types (see crate::dto) and the data types of the Firebase REST API. Those are 1:1 translations of the grpc API and deeply nested and wrapped.

Functions§

document_to_pod
Converts a firebase google-rpc-api inspired heavily nested and wrapped response document of the Firebase REST API into a given custom type.
pod_to_document
Converts a custom data type into a firebase google-rpc-api inspired heavily nested and wrapped type to be consumed by the Firebase REST API.