pub struct ResponseInfo {
pub status_code: u16,
pub description: Option<String>,
pub schema: Option<Schema>,
pub example: Option<Value>,
}Expand description
Response information
Fields§
§status_code: u16HTTP status code
description: Option<String>Response description
schema: Option<Schema>Response schema (if any)
example: Option<Value>Example response (if any)
Trait Implementations§
Source§impl Clone for ResponseInfo
impl Clone for ResponseInfo
Auto Trait Implementations§
impl Freeze for ResponseInfo
impl RefUnwindSafe for ResponseInfo
impl Send for ResponseInfo
impl Sync for ResponseInfo
impl Unpin for ResponseInfo
impl UnsafeUnpin for ResponseInfo
impl UnwindSafe for ResponseInfo
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