pub struct ParamMeta {
pub name: &'static str,
pub source: &'static str,
pub type_hint: &'static str,
}Expand description
Metadata about a request parameter for OpenAPI generation.
Fields§
§name: &'static strField name (e.g., “id”, “body”).
source: &'static strParameter location: “path”, “query”, or “body”.
type_hint: &'static strType hint for OpenAPI schema (e.g., “string”, “integer”, “object”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParamMeta
impl RefUnwindSafe for ParamMeta
impl Send for ParamMeta
impl Sync for ParamMeta
impl Unpin for ParamMeta
impl UnsafeUnpin for ParamMeta
impl UnwindSafe for ParamMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more