Struct openapi_31::v31::path_item::PathItem
source · pub struct PathItem {
pub summary: Option<String>,
pub description: Option<String>,
pub servers: Option<Vec<Server>>,
pub parameters: Option<Vec<ObjectOrRef<Parameter>>>,
pub get: Option<Box<Operation>>,
pub put: Option<Box<Operation>>,
pub post: Option<Box<Operation>>,
pub delete: Option<Box<Operation>>,
pub options: Option<Box<Operation>>,
pub head: Option<Box<Operation>>,
pub patch: Option<Box<Operation>>,
pub trace: Option<Box<Operation>>,
}Fields§
§summary: Option<String>§description: Option<String>§servers: Option<Vec<Server>>§parameters: Option<Vec<ObjectOrRef<Parameter>>>§get: Option<Box<Operation>>§put: Option<Box<Operation>>§post: Option<Box<Operation>>§delete: Option<Box<Operation>>§options: Option<Box<Operation>>§head: Option<Box<Operation>>§patch: Option<Box<Operation>>§trace: Option<Box<Operation>>Implementations§
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
source§impl PartialEq for PathItem
impl PartialEq for PathItem
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