pub struct OperationRequestBodyRef {
pub required: bool,
pub media_type: String,
pub schema_ref: Reference,
pub type_label: String,
}Expand description
Request body attachment on an OperationBody.
Fields§
§required: boolWhether the request body is required.
media_type: StringPrimary content media type (e.g. "application/json").
schema_ref: ReferenceStructural reference to the request body schema entity.
type_label: StringHuman-readable schema type label for rendering.
Trait Implementations§
Source§impl Clone for OperationRequestBodyRef
impl Clone for OperationRequestBodyRef
Source§fn clone(&self) -> OperationRequestBodyRef
fn clone(&self) -> OperationRequestBodyRef
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 OperationRequestBodyRef
impl Debug for OperationRequestBodyRef
impl Eq for OperationRequestBodyRef
Source§impl PartialEq for OperationRequestBodyRef
impl PartialEq for OperationRequestBodyRef
Source§fn eq(&self, other: &OperationRequestBodyRef) -> bool
fn eq(&self, other: &OperationRequestBodyRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperationRequestBodyRef
Auto Trait Implementations§
impl Freeze for OperationRequestBodyRef
impl RefUnwindSafe for OperationRequestBodyRef
impl Send for OperationRequestBodyRef
impl Sync for OperationRequestBodyRef
impl Unpin for OperationRequestBodyRef
impl UnsafeUnpin for OperationRequestBodyRef
impl UnwindSafe for OperationRequestBodyRef
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