#[non_exhaustive]pub struct UsersProfileGetRequest {
pub include_labels: Option<bool>,
pub user: Option<String>,
}Expand description
Arguments for the Slack Web API method users.profile.get: Retrieve a user’s profile information, including their custom status.
Send it with SlackClient::users_profile_get.
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_labels: Option<bool>Include labels for each ID in custom profile fields. Using this parameter will heavily rate-limit your requests and is not recommended.
user: Option<String>User to retrieve profile info for
Implementations§
Trait Implementations§
Source§impl Clone for UsersProfileGetRequest
impl Clone for UsersProfileGetRequest
Source§impl Debug for UsersProfileGetRequest
impl Debug for UsersProfileGetRequest
Source§impl Default for UsersProfileGetRequest
impl Default for UsersProfileGetRequest
Source§impl PartialEq for UsersProfileGetRequest
impl PartialEq for UsersProfileGetRequest
Source§impl Serialize for UsersProfileGetRequest
impl Serialize for UsersProfileGetRequest
impl StructuralPartialEq for UsersProfileGetRequest
Auto Trait Implementations§
impl Freeze for UsersProfileGetRequest
impl RefUnwindSafe for UsersProfileGetRequest
impl Send for UsersProfileGetRequest
impl Sync for UsersProfileGetRequest
impl Unpin for UsersProfileGetRequest
impl UnsafeUnpin for UsersProfileGetRequest
impl UnwindSafe for UsersProfileGetRequest
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