pub struct FunctionsClient { /* private fields */ }
Implementations§
Source§impl FunctionsClient
impl FunctionsClient
pub fn new( url: String, headers: Option<HashMap<String, String>>, region: Option<FunctionRegion>, ) -> Self
pub fn set_auth(&mut self, token: String)
pub async fn invoke( &self, function_name: &str, options: Option<FunctionInvokeOptions>, ) -> Result<FunctionsResponse, FunctionsError>
Trait Implementations§
Source§impl Clone for FunctionsClient
impl Clone for FunctionsClient
Source§fn clone(&self) -> FunctionsClient
fn clone(&self) -> FunctionsClient
Returns a copy of the value. Read more
1.0.0 · 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 Freeze for FunctionsClient
impl !RefUnwindSafe for FunctionsClient
impl Send for FunctionsClient
impl Sync for FunctionsClient
impl Unpin for FunctionsClient
impl !UnwindSafe for FunctionsClient
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