Skip to main content

DEFAULT_VERBS

Constant DEFAULT_VERBS 

Source
pub const DEFAULT_VERBS: &[Verb];
Expand description

Verbs accepted by a route declared without a verb prefix. Reflects the “verbs are constraints, not identities” stance: an unmarked route imposes no semantic restriction beyond what HTML forms emit natively. Restrictive verbs (PUT/DELETE/PATCH) and protocol verbs (HEAD/OPTIONS) must be opted into explicitly.