Trait jsonapi_rs::array::JsonApiArray
source · pub trait JsonApiArray<M> {
// Required methods
fn get_models(&self) -> &[M];
fn get_models_mut(&mut self) -> &mut [M];
}
Expand description
Trait which allows a has many
relationship to be optional.