pub struct FunctionsCreateExecutionRequest {
pub body: Option<String>,
pub async: Option<bool>,
pub path: Option<String>,
pub method: Option<Method>,
pub headers: Option<Value>,
}Fields§
§body: Option<String>HTTP body of execution. Default value is empty string.
async: Option<bool>Execute code in the background. Default value is false.
path: Option<String>HTTP path of execution. Path can include query params. Default value is /
method: Option<Method>HTTP method of execution. Default value is GET.
headers: Option<Value>HTTP headers of execution. Defaults to empty.
Implementations§
Trait Implementations§
Source§impl Clone for FunctionsCreateExecutionRequest
impl Clone for FunctionsCreateExecutionRequest
Source§fn clone(&self) -> FunctionsCreateExecutionRequest
fn clone(&self) -> FunctionsCreateExecutionRequest
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<'de> Deserialize<'de> for FunctionsCreateExecutionRequest
impl<'de> Deserialize<'de> for FunctionsCreateExecutionRequest
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 FunctionsCreateExecutionRequest
impl PartialEq for FunctionsCreateExecutionRequest
Source§fn eq(&self, other: &FunctionsCreateExecutionRequest) -> bool
fn eq(&self, other: &FunctionsCreateExecutionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FunctionsCreateExecutionRequest
Auto Trait Implementations§
impl Freeze for FunctionsCreateExecutionRequest
impl RefUnwindSafe for FunctionsCreateExecutionRequest
impl Send for FunctionsCreateExecutionRequest
impl Sync for FunctionsCreateExecutionRequest
impl Unpin for FunctionsCreateExecutionRequest
impl UnsafeUnpin for FunctionsCreateExecutionRequest
impl UnwindSafe for FunctionsCreateExecutionRequest
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