Struct jsona_openapi::Callback
source · [−]pub struct Callback(_);
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 callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#callbackObject.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Callback
impl<'de> Deserialize<'de> for Callback
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Callback> for Callback
impl PartialEq<Callback> for Callback
impl StructuralPartialEq for Callback
Auto Trait Implementations
impl RefUnwindSafe for Callback
impl Send for Callback
impl Sync for Callback
impl Unpin for Callback
impl UnwindSafe for Callback
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more