Struct json_api::Document [] [src]

pub struct Document<T: PrimaryData> {
    pub data: Data<T>,
    pub included: Vec<Object>,
    pub jsonapi: JsonApi,
    pub links: Map<Link>,
    pub meta: Map<Value>,
    // some fields omitted
}

Fields

Methods

impl<T: PrimaryData> Document<T>
[src]

Trait Implementations

impl<T: Clone + PrimaryData> Clone for Document<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug + PrimaryData> Debug for Document<T>
[src]

[src]

Formats the value using the given formatter.