Trait CoreResource

Source
pub trait CoreResource<T> {
    // Required method
    fn name(&self) -> String;
}
Expand description

The core functionality that is to be expected of some resource object. These methods assist in the work done by other traits in this library. Specifically by managing the the resource and it’s relatives.

Required Methods§

Source

fn name(&self) -> String

The name of the resource component. Is used as the path component on digestion.

Implementors§

Source§

impl<'a, T: Clone + Display> CoreResource<T> for ApiResource<'a, T>