pub struct Encoding {
pub content_type: Option<String>,
pub style: Option<ParameterStyle>,
pub explode: bool,
pub allow_reserved: bool,
pub headers: Vec<(String, Header)>,
pub extensions: Vec<(String, ValueRef)>,
}Fields§
§content_type: Option<String>§style: Option<ParameterStyle>§explode: bool§allow_reserved: boolOAS allowReserved. When true, RFC 3986 reserved characters
(:/?#[]@!$&'()*+,;=) are passed through verbatim instead of
being percent-encoded; meaningful for
application/x-www-form-urlencoded parts. Defaults to false.
headers: Vec<(String, Header)>§extensions: Vec<(String, ValueRef)>x-* extensions declared on the encoding object. Compound
extensions drop with parser/W-EXTENSION-DROPPED.
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
impl StructuralPartialEq for Encoding
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