pub struct Callback {
pub callbacks: BTreeMap<String, PathItem>,
pub extensions: IndexMap<String, Value>,
}
Expand description
A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
Fields§
§callbacks: BTreeMap<String, PathItem>
A Path Item Object used to define a callback request and expected responses. A complete example is available.
extensions: IndexMap<String, Value>
This object MAY be extended with Specification Extensions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Callback
impl RefUnwindSafe for Callback
impl Send for Callback
impl Sync for Callback
impl Unpin for Callback
impl UnwindSafe for Callback
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