pub struct OpenApiPathItem {
pub get: Option<OpenApiOperation>,
pub post: Option<OpenApiOperation>,
pub put: Option<OpenApiOperation>,
pub delete: Option<OpenApiOperation>,
pub patch: Option<OpenApiOperation>,
pub options: Option<OpenApiOperation>,
pub head: Option<OpenApiOperation>,
}Fields§
§get: Option<OpenApiOperation>§post: Option<OpenApiOperation>§put: Option<OpenApiOperation>§delete: Option<OpenApiOperation>§patch: Option<OpenApiOperation>§options: Option<OpenApiOperation>§head: Option<OpenApiOperation>Trait Implementations§
Source§impl Clone for OpenApiPathItem
impl Clone for OpenApiPathItem
Source§fn clone(&self) -> OpenApiPathItem
fn clone(&self) -> OpenApiPathItem
Returns a duplicate of the value. Read more
1.0.0 · 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 OpenApiPathItem
impl Debug for OpenApiPathItem
Source§impl Default for OpenApiPathItem
impl Default for OpenApiPathItem
Source§fn default() -> OpenApiPathItem
fn default() -> OpenApiPathItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenApiPathItem
impl<'de> Deserialize<'de> for OpenApiPathItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OpenApiPathItem
impl RefUnwindSafe for OpenApiPathItem
impl Send for OpenApiPathItem
impl Sync for OpenApiPathItem
impl Unpin for OpenApiPathItem
impl UnsafeUnpin for OpenApiPathItem
impl UnwindSafe for OpenApiPathItem
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