pub struct HttpOperationTemplate {
pub method: String,
pub url: String,
pub path: Option<String>,
pub query: Option<BTreeMap<String, Value>>,
pub headers: Option<BTreeMap<String, Value>>,
pub cookies: Option<BTreeMap<String, Value>>,
pub auth: Option<AuthTemplate>,
pub body: Option<BodyTemplate>,
pub transport: Option<TransportTemplate>,
}Fields§
§method: String§url: String§path: Option<String>§query: Option<BTreeMap<String, Value>>§headers: Option<BTreeMap<String, Value>>§auth: Option<AuthTemplate>§body: Option<BodyTemplate>§transport: Option<TransportTemplate>Trait Implementations§
Source§impl Clone for HttpOperationTemplate
impl Clone for HttpOperationTemplate
Source§fn clone(&self) -> HttpOperationTemplate
fn clone(&self) -> HttpOperationTemplate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpOperationTemplate
impl Debug for HttpOperationTemplate
Source§impl<'de> Deserialize<'de> for HttpOperationTemplate
impl<'de> Deserialize<'de> for HttpOperationTemplate
Source§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
Auto Trait Implementations§
impl Freeze for HttpOperationTemplate
impl RefUnwindSafe for HttpOperationTemplate
impl Send for HttpOperationTemplate
impl Sync for HttpOperationTemplate
impl Unpin for HttpOperationTemplate
impl UnsafeUnpin for HttpOperationTemplate
impl UnwindSafe for HttpOperationTemplate
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