pub struct FunctionsClient { /* private fields */ }Implementations§
Source§impl FunctionsClient
impl FunctionsClient
pub async fn call( &self, path: &str, method: &str, body: Option<&Value>, query: Option<&HashMap<String, String>>, ) -> Result<Value, Error>
pub async fn get( &self, path: &str, query: Option<&HashMap<String, String>>, ) -> Result<Value, Error>
pub async fn post( &self, path: &str, body: Option<&Value>, ) -> Result<Value, Error>
pub async fn put( &self, path: &str, body: Option<&Value>, ) -> Result<Value, Error>
pub async fn patch( &self, path: &str, body: Option<&Value>, ) -> Result<Value, Error>
pub async fn delete(&self, path: &str) -> Result<Value, Error>
Auto Trait Implementations§
impl Freeze for FunctionsClient
impl !RefUnwindSafe for FunctionsClient
impl Send for FunctionsClient
impl Sync for FunctionsClient
impl Unpin for FunctionsClient
impl UnsafeUnpin 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