pub struct ResponseDescriptorSeed {
pub content_type: Option<String>,
pub is_error: bool,
pub schema_name: Option<String>,
pub status: u16,
}Expand description
Response descriptor seed before rendering the generated metadata module.
Fields§
§content_type: Option<String>Preferred response content type.
is_error: boolWhether the response represents an error status.
schema_name: Option<String>Referenced schema name when present.
status: u16HTTP status code documented for the response.
Trait Implementations§
Source§impl Clone for ResponseDescriptorSeed
impl Clone for ResponseDescriptorSeed
Source§fn clone(&self) -> ResponseDescriptorSeed
fn clone(&self) -> ResponseDescriptorSeed
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 ResponseDescriptorSeed
impl Debug for ResponseDescriptorSeed
Source§impl PartialEq for ResponseDescriptorSeed
impl PartialEq for ResponseDescriptorSeed
impl Eq for ResponseDescriptorSeed
impl StructuralPartialEq for ResponseDescriptorSeed
Auto Trait Implementations§
impl Freeze for ResponseDescriptorSeed
impl RefUnwindSafe for ResponseDescriptorSeed
impl Send for ResponseDescriptorSeed
impl Sync for ResponseDescriptorSeed
impl Unpin for ResponseDescriptorSeed
impl UnsafeUnpin for ResponseDescriptorSeed
impl UnwindSafe for ResponseDescriptorSeed
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.