pub struct OperationObject {
pub responses: ResponsesObject,
}Expand description
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.4.md#operation-object
Fields§
§responses: ResponsesObjectREQUIRED. The list of possible responses as they are returned from executing this operation.
Implementations§
Source§impl OperationObject
impl OperationObject
pub fn from_yaml_map(map: YamlMap) -> Result<Output<Self>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OperationObject
impl RefUnwindSafe for OperationObject
impl Send for OperationObject
impl Sync for OperationObject
impl Unpin for OperationObject
impl UnwindSafe for OperationObject
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