pub struct OpenApiValidate {
pub body: Option<Value>,
pub query: Option<Value>,
pub params: Option<Value>,
}Expand description
Neutral request schemas for OpenAPI (filled by ValidateRouteExt).
Fields§
§body: Option<Value>§query: Option<Value>§params: Option<Value>Trait Implementations§
Source§impl Clone for OpenApiValidate
impl Clone for OpenApiValidate
Source§fn clone(&self) -> OpenApiValidate
fn clone(&self) -> OpenApiValidate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenApiValidate
impl Debug for OpenApiValidate
Source§impl Default for OpenApiValidate
impl Default for OpenApiValidate
Source§fn default() -> OpenApiValidate
fn default() -> OpenApiValidate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpenApiValidate
impl RefUnwindSafe for OpenApiValidate
impl Send for OpenApiValidate
impl Sync for OpenApiValidate
impl Unpin for OpenApiValidate
impl UnsafeUnpin for OpenApiValidate
impl UnwindSafe for OpenApiValidate
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