pub enum RefType {
Schema,
Response,
Parameter,
Example,
RequestBody,
Header,
SecurityScheme,
Link,
Callback,
}Expand description
Component type of a reference (OAS 3.0: no pathItems in components).
Variants§
Schema
Schema component type.
Response
Response component type.
Parameter
Parameter component type.
Example
Example component type.
RequestBody
Request body component type.
Header
Header component type.
SecurityScheme
Security scheme component type.
Link
Link component type.
Callback
Callback component type.
Trait Implementations§
impl Copy for RefType
impl StructuralPartialEq for RefType
Auto Trait Implementations§
impl Freeze for RefType
impl RefUnwindSafe for RefType
impl Send for RefType
impl Sync for RefType
impl Unpin for RefType
impl UnsafeUnpin for RefType
impl UnwindSafe for RefType
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