pub struct GeneratedRequestBodyDescriptor {
pub content_type: Option<&'static str>,
pub nullable: bool,
pub required: bool,
pub schema_name: Option<&'static str>,
}Expand description
Generated request-body descriptor metadata.
Fields§
§content_type: Option<&'static str>Preferred request content type.
nullable: boolWhether the request body is nullable.
required: boolWhether the request body is required.
schema_name: Option<&'static str>Referenced schema name when present.
Trait Implementations§
Source§impl Clone for GeneratedRequestBodyDescriptor
impl Clone for GeneratedRequestBodyDescriptor
Source§fn clone(&self) -> GeneratedRequestBodyDescriptor
fn clone(&self) -> GeneratedRequestBodyDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for GeneratedRequestBodyDescriptor
impl PartialEq for GeneratedRequestBodyDescriptor
Source§fn eq(&self, other: &GeneratedRequestBodyDescriptor) -> bool
fn eq(&self, other: &GeneratedRequestBodyDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GeneratedRequestBodyDescriptor
impl Eq for GeneratedRequestBodyDescriptor
impl StructuralPartialEq for GeneratedRequestBodyDescriptor
Auto Trait Implementations§
impl Freeze for GeneratedRequestBodyDescriptor
impl RefUnwindSafe for GeneratedRequestBodyDescriptor
impl Send for GeneratedRequestBodyDescriptor
impl Sync for GeneratedRequestBodyDescriptor
impl Unpin for GeneratedRequestBodyDescriptor
impl UnsafeUnpin for GeneratedRequestBodyDescriptor
impl UnwindSafe for GeneratedRequestBodyDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.