Skip to main content

DocQueryParams

Trait DocQueryParams 

Source
pub trait DocQueryParams {
    // Required method
    fn describe(op: &mut Operation);
}
Expand description

Contributes query parameters to an operation.

Implemented by axum::extract::Query<T> for any T: IntoParams, and by transparent wrappers (e.g. Valid<Query<T>>) via blanket impls that forward to the inner type.

Required Methods§

Source

fn describe(op: &mut Operation)

Append this extractor’s query parameters to op.parameters.

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.

Implementations on Foreign Types§

Source§

impl<T: IntoParams> DocQueryParams for Query<T>

Implementors§