pub struct Path {
pub get: Option<Operation>,
pub put: Option<Operation>,
pub post: Option<Operation>,
pub delete: Option<Operation>,
pub options: Option<Operation>,
pub head: Option<Operation>,
pub patch: Option<Operation>,
pub trace: Option<Operation>,
pub servers: Option<Vec<Server>>,
pub summary: Option<String>,
pub description: Option<String>,
}
Fields§
§get: Option<Operation>
§put: Option<Operation>
§post: Option<Operation>
§delete: Option<Operation>
§options: Option<Operation>
§head: Option<Operation>
§patch: Option<Operation>
§trace: Option<Operation>
§servers: Option<Vec<Server>>
§summary: Option<String>
§description: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Path
impl<'de> Deserialize<'de> for Path
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 Diff<Path, PathDiff, HttpSchemaDiffContext> for Path
impl Diff<Path, PathDiff, HttpSchemaDiffContext> for Path
fn diff( &self, new: Option<&Path>, context: &HttpSchemaDiffContext, ) -> DiffResult<PathDiff>
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
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