[−][src]Trait trek_router::Resource
Associated Types
Loading content...Required methods
fn show(ctx: Self::Context) -> Self::Body
fn create(ctx: Self::Context) -> Self::Body
fn update(ctx: Self::Context) -> Self::Body
fn delete(ctx: Self::Context) -> Self::Body
fn edit(ctx: Self::Context) -> Self::Body
fn new(ctx: Self::Context) -> Self::Body
Provided methods
fn build<'a>(
opts: ResourceOptions
) -> Vec<((&'a str, &'a str, &'a Method), fn(_: Self::Context) -> Self::Body)>
opts: ResourceOptions
) -> Vec<((&'a str, &'a str, &'a Method), fn(_: Self::Context) -> Self::Body)>