#[non_exhaustive]pub struct AdminUsersGetExpirationRequest {
pub user_id: String,
pub target_team: Option<String>,
}Expand description
Arguments for the Slack Web API method admin.users.getExpiration: Fetches the expiration timestamp for a guest.
Send it with SlackClient::admin_users_get_expiration.
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 guest user to get the expiration for.
target_team: Option<String>If an org token is passed in and this team is on the org, it will operate on the workspace level on the specified team. Otherwise it will operate on the org or team in context.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AdminUsersGetExpirationRequest
Auto Trait Implementations§
impl Freeze for AdminUsersGetExpirationRequest
impl RefUnwindSafe for AdminUsersGetExpirationRequest
impl Send for AdminUsersGetExpirationRequest
impl Sync for AdminUsersGetExpirationRequest
impl Unpin for AdminUsersGetExpirationRequest
impl UnsafeUnpin for AdminUsersGetExpirationRequest
impl UnwindSafe for AdminUsersGetExpirationRequest
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