[][src]Trait japi::Attributes

pub trait Attributes {
    fn kind() -> String;

    fn links(id: &str) -> Option<Links> { ... }
}

Strictly type attributes of a ResourceObject

Required methods

fn kind() -> String

The type field of the resulting JSON:API ResourceObject

This SHOULD NOT change between calls

Loading content...

Provided methods

Called by ResourceObject::new with the intended id of the object to allow default links to be provided

Loading content...

Implementors

Loading content...