pub trait DocPathScalar {
// Required method
fn describe_scalar(op: &mut Operation, path_param_names: &[&'static str]);
}Expand description
Scalar/tuple path impl trait. Kept separate from
DocPathParams to avoid overlap with the struct-form impl.
Required Methods§
Sourcefn describe_scalar(op: &mut Operation, path_param_names: &[&'static str])
fn describe_scalar(op: &mut Operation, path_param_names: &[&'static str])
Append scalar/tuple path parameter(s) 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.