pub enum HttpItem {
Show 15 variants
Method(HttpMethod),
Path(String),
Timeout(String),
FollowRedirect(bool),
VerifySsl(bool),
Proxy(String),
UserAgent(String),
Header {
name: String,
value: String,
},
Cookie {
name: String,
value: String,
},
Query {
name: String,
value: String,
},
Data(ObjectBody),
Json(ObjectBody),
Raw(String),
BodyBytes(String),
Multipart(ObjectBody),
}Variants§
Method(HttpMethod)
Path(String)
Timeout(String)
FollowRedirect(bool)
VerifySsl(bool)
Proxy(String)
UserAgent(String)
Header
Cookie
Query
Data(ObjectBody)
Json(ObjectBody)
Raw(String)
BodyBytes(String)
Multipart(ObjectBody)
Trait Implementations§
impl StructuralPartialEq for HttpItem
Auto Trait Implementations§
impl Freeze for HttpItem
impl RefUnwindSafe for HttpItem
impl Send for HttpItem
impl Sync for HttpItem
impl Unpin for HttpItem
impl UnsafeUnpin for HttpItem
impl UnwindSafe for HttpItem
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