pub struct ResponseSpec {
pub status: u16,
pub schema: Option<SchemaFn>,
}Expand description
Not comparable: the schema is a function pointer, and comparing those is meaningless. Compare rendered documents instead.
Fields§
§status: u16§schema: Option<SchemaFn>Trait Implementations§
Source§impl Clone for ResponseSpec
impl Clone for ResponseSpec
impl Copy for ResponseSpec
Auto Trait Implementations§
impl Freeze for ResponseSpec
impl RefUnwindSafe for ResponseSpec
impl Send for ResponseSpec
impl Sync for ResponseSpec
impl Unpin for ResponseSpec
impl UnsafeUnpin for ResponseSpec
impl UnwindSafe for ResponseSpec
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