#[non_exhaustive]pub struct UsersInfoRequest {
pub include_locale: Option<bool>,
pub user: Option<String>,
}Expand description
Arguments for the Slack Web API method users.info: Gets information about a user.
Send it with SlackClient::users_info.
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.include_locale: Option<bool>Set this to true to receive the locale for this user. Defaults to false
user: Option<String>User to get info on
Implementations§
Trait Implementations§
Source§impl Clone for UsersInfoRequest
impl Clone for UsersInfoRequest
Source§impl Debug for UsersInfoRequest
impl Debug for UsersInfoRequest
Source§impl Default for UsersInfoRequest
impl Default for UsersInfoRequest
Source§impl PartialEq for UsersInfoRequest
impl PartialEq for UsersInfoRequest
Source§impl Serialize for UsersInfoRequest
impl Serialize for UsersInfoRequest
Source§impl SlackApiMethod for UsersInfoRequest
impl SlackApiMethod for UsersInfoRequest
impl StructuralPartialEq for UsersInfoRequest
Auto Trait Implementations§
impl Freeze for UsersInfoRequest
impl RefUnwindSafe for UsersInfoRequest
impl Send for UsersInfoRequest
impl Sync for UsersInfoRequest
impl Unpin for UsersInfoRequest
impl UnsafeUnpin for UsersInfoRequest
impl UnwindSafe for UsersInfoRequest
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