Struct oapi::OApiPathItem [−][src]
pub struct OApiPathItem { /* fields omitted */ }
Implementations
impl OApiPathItem
[src]
impl OApiPathItem
[src]pub fn summary(&self) -> &Option<String>
[src]
A summary of this path item
pub fn description(&self) -> &Option<String>
[src]
A description of this path item
pub fn get(&self) -> &Option<OApiOperation>
[src]
The GET
operation of this path, if any
pub fn put(&self) -> &Option<OApiOperation>
[src]
The PUT
operation of this path, if any
pub fn post(&self) -> &Option<OApiOperation>
[src]
The POST
operation of this path, if any
pub fn delete(&self) -> &Option<OApiOperation>
[src]
The DELETE
operation of this path, if any
pub fn options(&self) -> &Option<OApiOperation>
[src]
The OPTIONS
operation of this path, if any
pub fn patch(&self) -> &Option<OApiOperation>
[src]
The PATCH
operation of this path, if any
pub fn head(&self) -> &Option<OApiOperation>
[src]
The HEAD
operation of this path, if any
pub fn trace(&self) -> &Option<OApiOperation>
[src]
The TRACE
operation of this path, if any
pub fn servers(&self) -> &Vec<OApiServer>
[src]
The servers this applies to
pub fn parameters(&self) -> &Vec<SparseSelector<OApiParameter>>
[src]
The parameters to use
Trait Implementations
impl Clone for OApiPathItem
[src]
impl Clone for OApiPathItem
[src]fn clone(&self) -> OApiPathItem
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for OApiPathItem
[src]
impl Default for OApiPathItem
[src]fn default() -> OApiPathItem
[src]
impl<'de> Deserialize<'de> for OApiPathItem
[src]
impl<'de> Deserialize<'de> for OApiPathItem
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl OApiCheckTrait for OApiPathItem
[src]
impl OApiCheckTrait for OApiPathItem
[src]fn oapi_check(
&self,
root: &SparseRoot<OApiDocument>,
bread_crumb: &mut Vec<String>
) -> Result<(), OApiError>
[src]
&self,
root: &SparseRoot<OApiDocument>,
bread_crumb: &mut Vec<String>
) -> Result<(), OApiError>
fn oapi_check_inner(
&self,
root: &SparseRoot<OApiDocument>,
bread_crumb: &mut Vec<String>
) -> Result<(), OApiError>
[src]
&self,
root: &SparseRoot<OApiDocument>,
bread_crumb: &mut Vec<String>
) -> Result<(), OApiError>
impl OApiExtensionExtractor for OApiPathItem
[src]
impl OApiExtensionExtractor for OApiPathItem
[src]fn oapi_raw_ext(&self) -> &HashMap<String, Value>
[src]
fn oapi_extract_ext<S>(
&self,
root: &SparseRoot<OApiDocument>,
key: &str
) -> Result<S, OApiError> where
S: DeserializeOwned + SparsableTrait + Serialize + OApiCheckTrait,
[src]
&self,
root: &SparseRoot<OApiDocument>,
key: &str
) -> Result<S, OApiError> where
S: DeserializeOwned + SparsableTrait + Serialize + OApiCheckTrait,
impl PartialEq<OApiPathItem> for OApiPathItem
[src]
impl PartialEq<OApiPathItem> for OApiPathItem
[src]fn eq(&self, other: &OApiPathItem) -> bool
[src]
fn ne(&self, other: &OApiPathItem) -> bool
[src]
impl Serialize for OApiPathItem
[src]
impl Serialize for OApiPathItem
[src]impl Sparsable for OApiPathItem
[src]
impl Sparsable for OApiPathItem
[src]fn sparse_init(
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>
[src]
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>
pub fn sparse_updt(
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>
[src]
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>
pub fn check_depth(&self, depth: u32) -> Result<(), SparseError>
[src]
impl StructuralPartialEq for OApiPathItem
[src]
impl StructuralPartialEq for OApiPathItem
[src]Auto Trait Implementations
impl RefUnwindSafe for OApiPathItem
impl RefUnwindSafe for OApiPathItem
impl Send for OApiPathItem
impl Send for OApiPathItem
impl Sync for OApiPathItem
impl Sync for OApiPathItem
impl Unpin for OApiPathItem
impl Unpin for OApiPathItem
impl UnwindSafe for OApiPathItem
impl UnwindSafe for OApiPathItem