#[non_exhaustive]pub struct AuthTeamsListRequest {
pub limit: Option<i64>,
pub cursor: Option<String>,
pub include_icon: Option<bool>,
}Expand description
Arguments for the Slack Web API method auth.teams.list: Obtain a full list of workspaces your org-wide app has been approved for.
Send it with SlackClient::auth_teams_list.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.limit: Option<i64>The maximum number of workspaces to return. Must be a positive integer no larger than 1000.
cursor: Option<String>Set cursor to next_cursor returned by the previous call to list items in the next page.
include_icon: Option<bool>Whether to return icon paths for each workspace. An icon path represents a URI pointing to the image signifying the workspace.
Implementations§
Trait Implementations§
Source§impl Clone for AuthTeamsListRequest
impl Clone for AuthTeamsListRequest
Source§impl CursorPaginated for AuthTeamsListRequest
impl CursorPaginated for AuthTeamsListRequest
fn set_cursor(&mut self, cursor: String)
Source§impl Debug for AuthTeamsListRequest
impl Debug for AuthTeamsListRequest
Source§impl Default for AuthTeamsListRequest
impl Default for AuthTeamsListRequest
Source§impl PartialEq for AuthTeamsListRequest
impl PartialEq for AuthTeamsListRequest
Source§impl Serialize for AuthTeamsListRequest
impl Serialize for AuthTeamsListRequest
impl StructuralPartialEq for AuthTeamsListRequest
Auto Trait Implementations§
impl Freeze for AuthTeamsListRequest
impl RefUnwindSafe for AuthTeamsListRequest
impl Send for AuthTeamsListRequest
impl Sync for AuthTeamsListRequest
impl Unpin for AuthTeamsListRequest
impl UnsafeUnpin for AuthTeamsListRequest
impl UnwindSafe for AuthTeamsListRequest
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