pub struct RequestBodyDescriptorSeed {
pub content_type: Option<String>,
pub nullable: bool,
pub required: bool,
pub schema_name: Option<String>,
}Expand description
Request-body descriptor seed before rendering the generated metadata module.
Fields§
§content_type: Option<String>Preferred request content type.
nullable: boolWhether the request body is nullable.
required: boolWhether the request body is required.
schema_name: Option<String>Referenced schema name when present.
Trait Implementations§
Source§impl Clone for RequestBodyDescriptorSeed
impl Clone for RequestBodyDescriptorSeed
Source§fn clone(&self) -> RequestBodyDescriptorSeed
fn clone(&self) -> RequestBodyDescriptorSeed
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 Debug for RequestBodyDescriptorSeed
impl Debug for RequestBodyDescriptorSeed
impl Eq for RequestBodyDescriptorSeed
impl StructuralPartialEq for RequestBodyDescriptorSeed
Auto Trait Implementations§
impl Freeze for RequestBodyDescriptorSeed
impl RefUnwindSafe for RequestBodyDescriptorSeed
impl Send for RequestBodyDescriptorSeed
impl Sync for RequestBodyDescriptorSeed
impl Unpin for RequestBodyDescriptorSeed
impl UnsafeUnpin for RequestBodyDescriptorSeed
impl UnwindSafe for RequestBodyDescriptorSeed
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.