pub struct Payload {
pub http_headers: Option<Vec<String>>,
pub http_operation: Option<String>,
pub json_body: Option<String>,
pub target_uri: Option<String>,
}
Expand description
The HTTP and JSON payload details for this Task.
Fields§
§http_headers: Option<Vec<String>>
An array of HTTP headers that this task includes.
http_operation: Option<String>
The HTTP operation to perform to execute this task.
json_body: Option<String>
The JSON payload to use in the execution of this task.
target_uri: Option<String>
The URI of the target for this task.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Payload
impl<'de> Deserialize<'de> for Payload
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