pub struct AdminTeamsAdmins {
pub client: Client,
}Fields§
§client: ClientImplementations§
Source§impl AdminTeamsAdmins
impl AdminTeamsAdmins
Sourcepub async fn list(
&self,
limit: i64,
cursor: &str,
team_id: &str,
) -> Result<Response<DndEndSchema>, ClientError>
pub async fn list( &self, limit: i64, cursor: &str, team_id: &str, ) -> Result<Response<DndEndSchema>, ClientError>
This function performs a GET to the /admin.teams.admins.list endpoint.
List all of the admins on a given workspace.
FROM: https://api.slack.com/methods/admin.teams.admins.list
Parameters:
token: &str– Authentication token. Requires scope:admin.teams:read.limit: i64– The maximum number of items to return.cursor: &str– Setcursortonext_cursorreturned by the previous call to list items in the next page.team_id: &str
Auto Trait Implementations§
impl Freeze for AdminTeamsAdmins
impl !RefUnwindSafe for AdminTeamsAdmins
impl Send for AdminTeamsAdmins
impl Sync for AdminTeamsAdmins
impl Unpin for AdminTeamsAdmins
impl !UnwindSafe for AdminTeamsAdmins
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