Struct sn0int_std::web::RequestOptions [−][src]
pub struct RequestOptions {
pub query: Option<HashMap<String, String>>,
pub headers: Option<HashMap<String, String>>,
pub basic_auth: Option<(String, String)>,
pub user_agent: Option<String>,
pub json: Option<Value>,
pub form: Option<Value>,
pub follow_redirects: usize,
pub body: Option<String>,
pub timeout: Option<u64>,
pub into_blob: bool,
pub proxy: Option<SocketAddr>,
pub binary: bool,
}Fields
query: Option<HashMap<String, String>>headers: Option<HashMap<String, String>>basic_auth: Option<(String, String)>user_agent: Option<String>json: Option<Value>form: Option<Value>follow_redirects: usizebody: Option<String>timeout: Option<u64>into_blob: boolproxy: Option<SocketAddr>binary: boolImplementations
Trait Implementations
Returns the “default value” for a type. Read more
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