pub struct Execute<'a> { /* private fields */ }Expand description
Builder for Client::execute
Implementations§
Source§impl<'a> Execute<'a>
impl<'a> Execute<'a>
pub fn new(client: &'a Client) -> Self
pub fn x_session_active<V>(self, value: V) -> Selfwhere
V: TryInto<ExecuteXSessionActive>,
pub fn x_session_budget_remaining<V>(self, value: V) -> Selfwhere
V: TryInto<AtomicAmount>,
pub fn x_session_user_address<V>(self, value: V) -> Selfwhere
V: TryInto<WalletAddress>,
pub fn body<V>(self, value: V) -> Self
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<Map<String, Value>>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<Map<String, Value>>, Error<ErrorResponse>>
Sends a POST request to /workflow/execute
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Execute<'a>
impl<'a> !UnwindSafe for Execute<'a>
impl<'a> Freeze for Execute<'a>
impl<'a> Send for Execute<'a>
impl<'a> Sync for Execute<'a>
impl<'a> Unpin for Execute<'a>
impl<'a> UnsafeUnpin for Execute<'a>
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