pub struct Query {
pub params: HashMap<String, String>,
pub cookie: Option<String>,
pub proxy: Option<String>,
pub real_ip: Option<String>,
pub random_cn_ip: bool,
pub ua: Option<String>,
pub e_r: Option<bool>,
pub domain: Option<String>,
}Expand description
通用查询参数,用于向 API 方法传递参数
Fields§
§params: HashMap<String, String>§proxy: Option<String>§real_ip: Option<String>§random_cn_ip: bool§ua: Option<String>§e_r: Option<bool>§domain: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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