pub struct Api {
pub client: Client,
}Fields§
§client: ClientImplementations§
Source§impl Api
impl Api
Sourcepub async fn test(
&self,
error: &str,
foo_: &str,
) -> Result<Response<DndEndSchema>, ClientError>
pub async fn test( &self, error: &str, foo_: &str, ) -> Result<Response<DndEndSchema>, ClientError>
This function performs a GET to the /api.test endpoint.
Checks API calling code.
FROM: https://api.slack.com/methods/api.test
Parameters:
error: &str– Error response to return.foo_: &str– example property to return.
Auto Trait Implementations§
impl Freeze for Api
impl !RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl !UnwindSafe for Api
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