pub struct HttpActionConfig {
pub client: Client,
pub method: Method,
pub url: Url,
pub headers: Option<Headers>,
pub body: Option<Body>,
}Fields§
§client: Client§method: Method§url: Url§headers: Option<Headers>§body: Option<Body>Implementations§
Source§impl HttpActionConfig
impl HttpActionConfig
Sourcepub fn builder() -> HttpActionConfigBuilder<((), (), (), (), ())>
pub fn builder() -> HttpActionConfigBuilder<((), (), (), (), ())>
Create a builder for building HttpActionConfig.
On the builder, call .client(...)(optional), .method(...), .url(...), .headers(...)(optional), .body(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of HttpActionConfig.
Auto Trait Implementations§
impl !Freeze for HttpActionConfig
impl !RefUnwindSafe for HttpActionConfig
impl Send for HttpActionConfig
impl Sync for HttpActionConfig
impl Unpin for HttpActionConfig
impl !UnwindSafe for HttpActionConfig
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