Struct sfr_slack_api::OauthClient
source · pub struct OauthClient { /* private fields */ }Expand description
The client for Slack API about OAuth.
Implementations§
source§impl OauthClient
impl OauthClient
sourcepub async fn oauth_v2_access(
&self,
form: OauthV2AccessRequest<'_>,
) -> Result<OauthV2AccessResponse, Error>
pub async fn oauth_v2_access( &self, form: OauthV2AccessRequest<'_>, ) -> Result<OauthV2AccessResponse, Error>
Requests oauth.v2.access.
https://api.slack.com/methods/oauth.v2.access
Can’t implicit in Client since the token is obtained from oauth_v2_access().
Trait Implementations§
source§impl Clone for OauthClient
impl Clone for OauthClient
source§fn clone(&self) -> OauthClient
fn clone(&self) -> OauthClient
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 OauthClient
impl !RefUnwindSafe for OauthClient
impl Send for OauthClient
impl Sync for OauthClient
impl Unpin for OauthClient
impl !UnwindSafe for OauthClient
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)