Trait Params
pub trait Params:
Serialize
+ DeserializeOwned
+ JsonSchema
+ Clone
+ 'static {
type Resource;
type Paths: Clone;
const ACTION: ActionRef<Self::Resource, Self>;
// Required method
fn paths() -> Self::Paths;
}Expand description
A verb’s generated parameter struct, linked to the verb it is the input
of. A form is a local value of it; submitting the form invokes
Self::ACTION with it.
Required Associated Constants§
Required Associated Types§
type Resource
type Resource
The resource the verb belongs to.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.