pub struct Encoding {
pub content_type: Option<String>,
pub headers: Option<IndexMap<String, MayBeRef<Header>>>,
pub style: Option<String>,
pub explode: Option<bool>,
pub allow_reserved: Option<bool>,
}
Fields§
§content_type: Option<String>
§headers: Option<IndexMap<String, MayBeRef<Header>>>
§style: Option<String>
§explode: Option<bool>
§allow_reserved: Option<bool>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Encoding
impl<'de> Deserialize<'de> for Encoding
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<Encoding, EncodingDiff, HttpSchemaDiffContext> for Encoding
impl Diff<Encoding, EncodingDiff, HttpSchemaDiffContext> for Encoding
fn diff( &self, new: Option<&Encoding>, context: &HttpSchemaDiffContext, ) -> DiffResult<EncodingDiff>
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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