[−][src]Struct oas3::Components
Holds a set of reusable objects for different aspects of the OAS.
All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#componentsObject.
Fields
schemas: BTreeMap<String, ObjectOrReference<Schema>>
An object to hold reusable Schema Objects.
responses: BTreeMap<String, ObjectOrReference<Response>>
An object to hold reusable Response Objects.
parameters: BTreeMap<String, ObjectOrReference<Parameter>>
An object to hold reusable Parameter Objects.
examples: BTreeMap<String, ObjectOrReference<Example>>
An object to hold reusable Example
request_bodies: BTreeMap<String, ObjectOrReference<RequestBody>>
An object to hold reusable Request Body Objects.
headers: BTreeMap<String, ObjectOrReference<Header>>
An object to hold reusable Header Objects.
security_schemes: BTreeMap<String, ObjectOrReference<SecurityScheme>>
An object to hold reusable Security Scheme Objects.
links: BTreeMap<String, ObjectOrReference<Link>>
An object to hold reusable Link Objects.
callbacks: BTreeMap<String, ObjectOrReference<Callback>>
An object to hold reusable Callback Objects.
Trait Implementations
impl Clone for Components
[src]
fn clone(&self) -> Components
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Components
[src]
fn default() -> Components
[src]
impl PartialEq<Components> for Components
[src]
fn eq(&self, other: &Components) -> bool
[src]
fn ne(&self, other: &Components) -> bool
[src]
impl Debug for Components
[src]
impl Serialize for Components
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Components
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for Components
impl Send for Components
impl Unpin for Components
impl RefUnwindSafe for Components
impl UnwindSafe for Components
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,