Enum easy_http_request::HttpRequestBody [−][src]
pub enum HttpRequestBody<BK: Eq + Hash + AsRef<str>, BV: AsRef<str>> { Binary { content_type: Mime, body: Vec<u8>, }, Text { content_type: Mime, body: String, }, FormURLEncoded(HashMap<BK, BV>), }
Expand description
A http request body that you want to send.
Variants
FormURLEncoded(HashMap<BK, BV>)Trait Implementations
Auto Trait Implementations
impl<BK, BV> RefUnwindSafe for HttpRequestBody<BK, BV> where
BK: RefUnwindSafe,
BV: RefUnwindSafe, impl<BK, BV> Send for HttpRequestBody<BK, BV> where
BK: Send,
BV: Send, impl<BK, BV> Sync for HttpRequestBody<BK, BV> where
BK: Sync,
BV: Sync, impl<BK, BV> Unpin for HttpRequestBody<BK, BV> where
BK: Unpin,
BV: Unpin, impl<BK, BV> UnwindSafe for HttpRequestBody<BK, BV> where
BK: UnwindSafe,
BV: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more