pub trait DrawResourceRoutesWithSchema {
// Required method
fn endpoint<E: 'static + EndpointWithSchema>(&mut self);
}
Expand description
This trait allows to draw routes within an resource. Use this only inside the Resource::setup method.
Required Methods§
fn endpoint<E: 'static + EndpointWithSchema>(&mut self)
Object Safety§
This trait is not object safe.