pub struct ResolvedMediaType {
pub schema: Option<Shared<ResolvedSchema>>,
pub example: Option<Value>,
pub examples: IndexMap<String, Shared<Example>>,
pub encoding: IndexMap<String, ResolvedEncoding>,
pub extensions: IndexMap<String, Value>,
}Expand description
MediaType with every $ref replaced by the item it named.
Fields§
§schema: Option<Shared<ResolvedSchema>>See MediaType::schema.
example: Option<Value>See MediaType::example.
examples: IndexMap<String, Shared<Example>>See MediaType::examples.
encoding: IndexMap<String, ResolvedEncoding>See MediaType::encoding.
extensions: IndexMap<String, Value>Trait Implementations§
Source§impl Debug for ResolvedMediaType
impl Debug for ResolvedMediaType
Source§impl PartialEq for ResolvedMediaType
impl PartialEq for ResolvedMediaType
impl StructuralPartialEq for ResolvedMediaType
Auto Trait Implementations§
impl Freeze for ResolvedMediaType
impl RefUnwindSafe for ResolvedMediaType
impl Send for ResolvedMediaType
impl Sync for ResolvedMediaType
impl Unpin for ResolvedMediaType
impl UnsafeUnpin for ResolvedMediaType
impl UnwindSafe for ResolvedMediaType
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