pub struct HttpClientArgs {
pub base_url: Option<LitStr>,
pub interceptor: Option<Path>,
pub state: Option<Path>,
pub proxy: Option<ProxyConfig>,
}Expand description
HTTP 客户端参数配置
Fields§
§base_url: Option<LitStr>§interceptor: Option<Path>§state: Option<Path>§proxy: Option<ProxyConfig>Trait Implementations§
Source§impl Parse for HttpClientArgs
impl Parse for HttpClientArgs
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for HttpClientArgs
impl RefUnwindSafe for HttpClientArgs
impl !Send for HttpClientArgs
impl !Sync for HttpClientArgs
impl Unpin for HttpClientArgs
impl UnwindSafe for HttpClientArgs
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