pub struct Encoding {
pub content_type: Option<String>,
pub headers: Option<BTreeMap<String, Header>>,
pub style: Option<String>,
pub explode: Option<bool>,
pub allow_reserved: Option<bool>,
}Expand description
Property encoding information for multipart and form-urlencoded request bodies.
Fields§
§content_type: Option<String>Content-Type for encoding a specific property.
headers: Option<BTreeMap<String, Header>>Additional headers for the property.
style: Option<String>Serialization style for the property value.
explode: Option<bool>Whether to generate separate parameters for array/object values.
allow_reserved: Option<bool>Whether to allow reserved characters.
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
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin 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