pub struct Callback {
pub items: Map<RefOr<PathItem>>,
pub extensions: Extensions,
}Expand description
Out-of-band requests the API makes as part of an operation.
Keys are runtime expressions identifying the URL to call, such as
{$request.body#/callbackUrl}. Each maps to the operations the API will
perform against that URL.
Extensions sit beside those keys, so this is not a bare map — see
Paths, which has the same shape for the same reason.
Fields§
§items: Map<RefOr<PathItem>>The Path Items, keyed by runtime expression.
extensions: ExtensionsSpecification extensions.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Callback
impl<'de> Deserialize<'de> for Callback
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Callback
Auto Trait Implementations§
impl Freeze for Callback
impl RefUnwindSafe for Callback
impl Send for Callback
impl Sync for Callback
impl Unpin for Callback
impl UnsafeUnpin 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