#[derive(ClientState)]
{
// Attributes available to this derive:
#[validation]
#[execution]
}
Expand description
To specify the generic arguments for ClientState, use the following
attributes:
#[validation(<YourClientValidationContext>)]#[execution(<YourClientExecutionContext>)]
The argument to the validation or execution attributes may contain
lifetimes or generic types, and even that types might be bounded by
traits. For instance:
#[validation(Context<S>)]#[validation(Context<'a, S>)]#[validation(Context<'a, S: Clone>)]