Module json_api::doc
[−]
[src]
Components of a JSON API document.
Structs
| ErrorObject |
Contains information about problems encountered while performing an operation. |
| ErrorSource |
References to the source of the error. |
| Identifier |
Identifies an individual resource. Commonly found in an object's relationships. |
| JsonApi |
Information about this implementation of the specification. |
| Link |
A data structure containing a URL. Can be deserialized from either a string or link object. |
| NewObject |
A resource that does not already exist. Commonly found in the document of a
|
| Object |
A preexisting resource. Commonly found in the document of a response or |
| Relationship |
Represents a resource's relationship to another. |
Enums
| Data |
Describes the data of a document or resource linkage. |
| Document |
Represents a compound JSON API document. |
| Version |
The version of the specification. |
Traits
| PrimaryData |
A marker trait used to indicate that a type can be the primary data for a document. |
Functions
| from_doc |
Interpret a |
| from_reader |
Deserialize a |
| from_slice |
Deserialize a |
| from_str |
Deserialize a |
| to_doc |
Render type |
| to_string |
Render type |
| to_string_pretty |
Render type |
| to_vec |
Render type |
| to_vec_pretty |
Render type |
| to_writer |
Render type |
| to_writer_pretty |
Render type |