pub enum Body {
Operation(Box<OperationBody>),
Schema(Box<SchemaBody>),
Channel(Box<ChannelBody>),
Message(Box<MessageBody>),
Parameter(Box<ParameterBody>),
Response(Box<ResponseBody>),
RequestBody(Box<RequestBodyBody>),
SecurityScheme(Box<SecuritySchemeBody>),
Service(Box<ServiceBody>),
Extension(Box<ExtensionBody>),
}Variants§
Operation(Box<OperationBody>)
Schema(Box<SchemaBody>)
Channel(Box<ChannelBody>)
Message(Box<MessageBody>)
Parameter(Box<ParameterBody>)
Response(Box<ResponseBody>)
RequestBody(Box<RequestBodyBody>)
SecurityScheme(Box<SecuritySchemeBody>)
Service(Box<ServiceBody>)
Extension(Box<ExtensionBody>)
Trait Implementations§
Source§impl From<ChannelBody> for Body
impl From<ChannelBody> for Body
Source§fn from(v: ChannelBody) -> Self
fn from(v: ChannelBody) -> Self
Converts to this type from the input type.
Source§impl From<ExtensionBody> for Body
impl From<ExtensionBody> for Body
Source§fn from(v: ExtensionBody) -> Self
fn from(v: ExtensionBody) -> Self
Converts to this type from the input type.
Source§impl From<MessageBody> for Body
impl From<MessageBody> for Body
Source§fn from(v: MessageBody) -> Self
fn from(v: MessageBody) -> Self
Converts to this type from the input type.
Source§impl From<OperationBody> for Body
impl From<OperationBody> for Body
Source§fn from(v: OperationBody) -> Self
fn from(v: OperationBody) -> Self
Converts to this type from the input type.
Source§impl From<ParameterBody> for Body
impl From<ParameterBody> for Body
Source§fn from(v: ParameterBody) -> Self
fn from(v: ParameterBody) -> Self
Converts to this type from the input type.
Source§impl From<RequestBodyBody> for Body
impl From<RequestBodyBody> for Body
Source§fn from(v: RequestBodyBody) -> Self
fn from(v: RequestBodyBody) -> Self
Converts to this type from the input type.
Source§impl From<ResponseBody> for Body
impl From<ResponseBody> for Body
Source§fn from(v: ResponseBody) -> Self
fn from(v: ResponseBody) -> Self
Converts to this type from the input type.
Source§impl From<SchemaBody> for Body
impl From<SchemaBody> for Body
Source§fn from(v: SchemaBody) -> Self
fn from(v: SchemaBody) -> Self
Converts to this type from the input type.
Source§impl From<SecuritySchemeBody> for Body
impl From<SecuritySchemeBody> for Body
Source§fn from(v: SecuritySchemeBody) -> Self
fn from(v: SecuritySchemeBody) -> Self
Converts to this type from the input type.
Source§impl From<ServiceBody> for Body
impl From<ServiceBody> for Body
Source§fn from(v: ServiceBody) -> Self
fn from(v: ServiceBody) -> Self
Converts to this type from the input type.
impl Oneof for Body
impl StructuralPartialEq for Body
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnsafeUnpin for Body
impl UnwindSafe for Body
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