pub struct HttpTemplateOperation {
pub method: Method,
pub url: String,
pub headers: HashMap<String, String>,
pub query_params: Vec<(String, String)>,
pub cookies: HashMap<String, String>,
pub form_text: HashMap<String, String>,
pub form_files: HashMap<String, String>,
pub body: Option<String>,
pub body_file: Option<String>,
pub body_content_type: Option<String>,
}Fields§
§method: Method§url: String§headers: HashMap<String, String>§query_params: Vec<(String, String)>§form_text: HashMap<String, String>§form_files: HashMap<String, String>§body: Option<String>§body_file: Option<String>§body_content_type: Option<String>Trait Implementations§
Source§impl Clone for HttpTemplateOperation
impl Clone for HttpTemplateOperation
Source§fn clone(&self) -> HttpTemplateOperation
fn clone(&self) -> HttpTemplateOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HttpTemplateOperation
impl RefUnwindSafe for HttpTemplateOperation
impl Send for HttpTemplateOperation
impl Sync for HttpTemplateOperation
impl Unpin for HttpTemplateOperation
impl UnsafeUnpin for HttpTemplateOperation
impl UnwindSafe for HttpTemplateOperation
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