#[non_exhaustive]pub struct AdminUsersSessionListRequest {
pub team_id: Option<String>,
pub user_id: Option<String>,
pub limit: Option<i64>,
pub cursor: Option<String>,
}Expand description
Arguments for the Slack Web API method admin.users.session.list: List active user sessions for an organization
Send it with SlackClient::admin_users_session_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.team_id: Option<String>The ID of the workspace you’d like active sessions for. If you pass a team_id, you’ll need to pass a user_id as well.
user_id: Option<String>The ID of user you’d like active sessions for. If you pass a user_id, you’ll need to pass a team_id as well.
limit: Option<i64>The maximum number of items to return. Must be between 1 - 1000 both inclusive.
cursor: Option<String>Set cursor to next_cursor returned by the previous call to list items in the next page.
Implementations§
Trait Implementations§
Source§impl Clone for AdminUsersSessionListRequest
impl Clone for AdminUsersSessionListRequest
Source§impl CursorPaginated for AdminUsersSessionListRequest
impl CursorPaginated for AdminUsersSessionListRequest
fn set_cursor(&mut self, cursor: String)
Source§impl Debug for AdminUsersSessionListRequest
impl Debug for AdminUsersSessionListRequest
impl StructuralPartialEq for AdminUsersSessionListRequest
Auto Trait Implementations§
impl Freeze for AdminUsersSessionListRequest
impl RefUnwindSafe for AdminUsersSessionListRequest
impl Send for AdminUsersSessionListRequest
impl Sync for AdminUsersSessionListRequest
impl Unpin for AdminUsersSessionListRequest
impl UnsafeUnpin for AdminUsersSessionListRequest
impl UnwindSafe for AdminUsersSessionListRequest
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