pub struct PathItemObject {
pub get: Option<OperationObject>,
pub post: Option<OperationObject>,
}Fields§
§get: Option<OperationObject>§post: Option<OperationObject>Implementations§
Source§impl PathItemObject
impl PathItemObject
pub fn from_yaml_map(map: YamlMap) -> Result<Self>
pub fn with_name( kv: (String, YamlMap), ) -> Result<(PathFieldName, PathItemObject)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathItemObject
impl RefUnwindSafe for PathItemObject
impl Send for PathItemObject
impl Sync for PathItemObject
impl Unpin for PathItemObject
impl UnwindSafe for PathItemObject
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