Crate cargonauts [−] [src]
Modules
_internal |
This module is an implementation detail of cargonauts; it is only exposed in the API because
it needs to be called by the expansion of the |
api | |
router |
Macros
_count_rels | |
_fetch_rel | |
_link_rel | |
_methods |
Do not call this macro, it is an implementation detail of the routes! macro. |
_name_rel | |
_rel_methods | |
_resource |
Do not call this macro, it is an implementation detail of the routes! macro. |
relation |
DSL for constructing a Relation type. |
routes |
The entry point for the routes DSL, which defines the endpoints of your API. |
Enums
Value |
Represents a JSON value |
Traits
Deserialize |
|
Deserializer |
|
Serialize |
A trait that describes a type that can be serialized by a |
Serializer |
A trait that describes a type that can serialize a stream of values into the underlying format. |
Functions
from_value |
Shortcut function to decode a JSON |
to_value |
Shortcut function to encode a |