pub struct AppsPermissionsResources {
pub client: Client,
}Fields§
§client: ClientImplementations§
Source§impl AppsPermissionsResources
impl AppsPermissionsResources
Sourcepub async fn list(
&self,
cursor: &str,
limit: i64,
) -> Result<Response<AppsPermissionsResourcesListSuccessSchema>, ClientError>
pub async fn list( &self, cursor: &str, limit: i64, ) -> Result<Response<AppsPermissionsResourcesListSuccessSchema>, ClientError>
This function performs a GET to the /apps.permissions.resources.list endpoint.
Returns list of resource grants this app has on a team.
FROM: https://api.slack.com/methods/apps.permissions.resources.list
Parameters:
token: &str– Authentication token. Requires scope:none.cursor: &str– Paginate through collections of data by setting thecursorparameter to anext_cursorattribute returned by a previous request’sresponse_metadata. Default value fetches the first “page” of the collection. See pagination for more detail.limit: i64– The maximum number of items to return.
Auto Trait Implementations§
impl Freeze for AppsPermissionsResources
impl !RefUnwindSafe for AppsPermissionsResources
impl Send for AppsPermissionsResources
impl Sync for AppsPermissionsResources
impl Unpin for AppsPermissionsResources
impl !UnwindSafe for AppsPermissionsResources
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