pub enum EntityBody {
Operation(OperationBody),
Schema(SchemaBody),
Channel(ChannelBody),
Message(MessageBody),
Parameter(ParameterBody),
Response(ResponseBody),
RequestBody(RequestBodyBody),
SecurityScheme(SecuritySchemeBody),
Service(ServiceBody),
Extension(ExtensionBody),
}Expand description
Discriminated entity payload mirroring the proto oneof body.
Variants§
Operation(OperationBody)
RPC or HTTP operation entity.
Schema(SchemaBody)
Schema or message type entity.
Channel(ChannelBody)
Async messaging channel entity.
Message(MessageBody)
Message payload entity (distinct from schema in some families).
Parameter(ParameterBody)
Standalone parameter entity.
Response(ResponseBody)
Standalone response entity.
RequestBody(RequestBodyBody)
Request body entity.
SecurityScheme(SecuritySchemeBody)
Security scheme entity.
Service(ServiceBody)
Service definition entity.
Extension(ExtensionBody)
Opaque family-specific extension payload.
Trait Implementations§
Source§impl Clone for EntityBody
impl Clone for EntityBody
Source§fn clone(&self) -> EntityBody
fn clone(&self) -> EntityBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntityBody
impl Debug for EntityBody
impl Eq for EntityBody
Source§impl PartialEq for EntityBody
impl PartialEq for EntityBody
Source§fn eq(&self, other: &EntityBody) -> bool
fn eq(&self, other: &EntityBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityBody
Auto Trait Implementations§
impl Freeze for EntityBody
impl RefUnwindSafe for EntityBody
impl Send for EntityBody
impl Sync for EntityBody
impl Unpin for EntityBody
impl UnsafeUnpin for EntityBody
impl UnwindSafe for EntityBody
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