Skip to main content

Linkable

Trait Linkable 

Source
pub trait Linkable:
    Sized
    + Serialize
    + RustApiSchema {
    // Provided method
    fn with_links(self) -> Resource<Self> { ... }
}
Expand description

Helper trait for adding HATEOAS links to any type

Provided Methods§

Wrap this value in a Resource with HATEOAS links

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§