pub struct ApiBodySchema {
pub content_type: String,
pub schema: Value,
}
Fields§
§content_type: String
§schema: Value
Trait Implementations§
Source§impl Clone for ApiBodySchema
impl Clone for ApiBodySchema
Source§fn clone(&self) -> ApiBodySchema
fn clone(&self) -> ApiBodySchema
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 ApiBodySchema
impl Debug for ApiBodySchema
Source§impl<'de> Deserialize<'de> for ApiBodySchema
impl<'de> Deserialize<'de> for ApiBodySchema
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 PartialEq for ApiBodySchema
impl PartialEq for ApiBodySchema
Source§impl Serialize for ApiBodySchema
impl Serialize for ApiBodySchema
impl StructuralPartialEq for ApiBodySchema
Auto Trait Implementations§
impl Freeze for ApiBodySchema
impl RefUnwindSafe for ApiBodySchema
impl Send for ApiBodySchema
impl Sync for ApiBodySchema
impl Unpin for ApiBodySchema
impl UnwindSafe for ApiBodySchema
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