pub struct FunctionInvokeRequestBuilder { /* private fields */ }Expand description
执行函数 Builder
Implementations§
Source§impl FunctionInvokeRequestBuilder
impl FunctionInvokeRequestBuilder
Sourcepub fn new(
config: Config,
namespace: impl Into<String>,
function_api_name: impl Into<String>,
) -> Self
pub fn new( config: Config, namespace: impl Into<String>, function_api_name: impl Into<String>, ) -> Self
创建新的 Builder
Sourcepub async fn execute(self) -> SDKResult<FunctionInvokeResponse>
pub async fn execute(self) -> SDKResult<FunctionInvokeResponse>
执行请求
Sourcepub async fn execute_with_options(
self,
option: RequestOption,
) -> SDKResult<FunctionInvokeResponse>
pub async fn execute_with_options( self, option: RequestOption, ) -> SDKResult<FunctionInvokeResponse>
使用选项执行请求
Trait Implementations§
Source§impl Clone for FunctionInvokeRequestBuilder
impl Clone for FunctionInvokeRequestBuilder
Source§fn clone(&self) -> FunctionInvokeRequestBuilder
fn clone(&self) -> FunctionInvokeRequestBuilder
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for FunctionInvokeRequestBuilder
impl !UnwindSafe for FunctionInvokeRequestBuilder
impl Freeze for FunctionInvokeRequestBuilder
impl Send for FunctionInvokeRequestBuilder
impl Sync for FunctionInvokeRequestBuilder
impl Unpin for FunctionInvokeRequestBuilder
impl UnsafeUnpin for FunctionInvokeRequestBuilder
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