pub struct LiveHttpRequest {Show 13 fields
pub method: String,
pub url: String,
pub path: Option<String>,
pub headers: BTreeMap<String, String>,
pub body: Option<String>,
pub json: Option<Value>,
pub captures: Option<Value>,
pub role: String,
pub destructive: bool,
pub payload: Option<ContextualPayload>,
pub label: Option<String>,
pub purpose: Option<HttpWorkflowStepPurpose>,
pub oracle: Option<HttpOracle>,
}Fields§
§method: String§url: String§path: Option<String>§headers: BTreeMap<String, String>§body: Option<String>§json: Option<Value>§captures: Option<Value>§role: String§destructive: bool§payload: Option<ContextualPayload>§label: Option<String>§purpose: Option<HttpWorkflowStepPurpose>§oracle: Option<HttpOracle>Implementations§
Trait Implementations§
Source§impl Clone for LiveHttpRequest
impl Clone for LiveHttpRequest
Source§fn clone(&self) -> LiveHttpRequest
fn clone(&self) -> LiveHttpRequest
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 moreSource§impl Debug for LiveHttpRequest
impl Debug for LiveHttpRequest
Source§impl<'de> Deserialize<'de> for LiveHttpRequest
impl<'de> Deserialize<'de> for LiveHttpRequest
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
Source§impl PartialEq for LiveHttpRequest
impl PartialEq for LiveHttpRequest
Source§fn eq(&self, other: &LiveHttpRequest) -> bool
fn eq(&self, other: &LiveHttpRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LiveHttpRequest
impl Serialize for LiveHttpRequest
impl StructuralPartialEq for LiveHttpRequest
Auto Trait Implementations§
impl Freeze for LiveHttpRequest
impl RefUnwindSafe for LiveHttpRequest
impl Send for LiveHttpRequest
impl Sync for LiveHttpRequest
impl Unpin for LiveHttpRequest
impl UnsafeUnpin for LiveHttpRequest
impl UnwindSafe for LiveHttpRequest
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