pub struct Response {
pub description: Option<String>,
pub content: Option<IndexMap<String, MediaType>>,
pub links: Option<IndexMap<String, MayBeRef<Link>>>,
pub headers: Option<IndexMap<String, MayBeRef<Header>>>,
}
Fields§
§description: Option<String>
§content: Option<IndexMap<String, MediaType>>
§links: Option<IndexMap<String, MayBeRef<Link>>>
§headers: Option<IndexMap<String, MayBeRef<Header>>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Diff<Response, ResponseDiff, HttpSchemaDiffContext> for Response
impl Diff<Response, ResponseDiff, HttpSchemaDiffContext> for Response
fn diff( &self, new: Option<&Response>, context: &HttpSchemaDiffContext, ) -> DiffResult<ResponseDiff>
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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