pub struct PathItem {
pub get: Option<Operation>,
pub post: Option<Operation>,
pub put: Option<Operation>,
pub patch: Option<Operation>,
pub delete: Option<Operation>,
pub options: Option<Operation>,
pub head: Option<Operation>,
pub parameters: Option<Vec<Parameter>>,
}
Available on crate feature
v2
only.Expand description
todo support x-* properties
Fields§
§get: Option<Operation>
§post: Option<Operation>
§put: Option<Operation>
§patch: Option<Operation>
§delete: Option<Operation>
§options: Option<Operation>
§head: Option<Operation>
§parameters: Option<Vec<Parameter>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PathItem
impl<'de> Deserialize<'de> for PathItem
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
impl StructuralPartialEq for PathItem
Auto Trait Implementations§
impl Freeze for PathItem
impl RefUnwindSafe for PathItem
impl Send for PathItem
impl Sync for PathItem
impl Unpin for PathItem
impl UnwindSafe for PathItem
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