#[non_exhaustive]pub struct AdminUsersSessionResetRequest {
pub user_id: String,
pub mobile_only: Option<bool>,
pub web_only: Option<bool>,
}Expand description
Arguments for the Slack Web API method admin.users.session.reset: Wipes all valid sessions on all devices for a given user
Send it with SlackClient::admin_users_session_reset.
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.user_id: StringThe ID of the user to wipe sessions for
mobile_only: Option<bool>Only expire mobile sessions (default: false)
web_only: Option<bool>Only expire web sessions (default: false)
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminUsersSessionResetRequest
Auto Trait Implementations§
impl Freeze for AdminUsersSessionResetRequest
impl RefUnwindSafe for AdminUsersSessionResetRequest
impl Send for AdminUsersSessionResetRequest
impl Sync for AdminUsersSessionResetRequest
impl Unpin for AdminUsersSessionResetRequest
impl UnsafeUnpin for AdminUsersSessionResetRequest
impl UnwindSafe for AdminUsersSessionResetRequest
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