pub struct RequestBodyBody {
pub required: bool,
pub fence_language: String,
pub fence_body: String,
pub protocols: Vec<ProtocolAttachment>,
}Expand description
Request body entity (requirement flag and schema excerpt).
Fields§
§required: boolWhether the request body is required.
fence_language: StringLanguage tag for the fenced code block.
fence_body: StringFenced source excerpt for the request body schema.
protocols: Vec<ProtocolAttachment>Protocol-specific request body metadata when applicable.
Trait Implementations§
Source§impl Clone for RequestBodyBody
impl Clone for RequestBodyBody
Source§fn clone(&self) -> RequestBodyBody
fn clone(&self) -> RequestBodyBody
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 RequestBodyBody
impl Debug for RequestBodyBody
Source§impl Default for RequestBodyBody
impl Default for RequestBodyBody
Source§fn default() -> RequestBodyBody
fn default() -> RequestBodyBody
Returns the “default value” for a type. Read more
impl Eq for RequestBodyBody
Source§impl PartialEq for RequestBodyBody
impl PartialEq for RequestBodyBody
Source§fn eq(&self, other: &RequestBodyBody) -> bool
fn eq(&self, other: &RequestBodyBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestBodyBody
Auto Trait Implementations§
impl Freeze for RequestBodyBody
impl RefUnwindSafe for RequestBodyBody
impl Send for RequestBodyBody
impl Sync for RequestBodyBody
impl Unpin for RequestBodyBody
impl UnsafeUnpin for RequestBodyBody
impl UnwindSafe for RequestBodyBody
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