#[non_exhaustive]pub struct UsersProfileSetRequest {
pub name: Option<String>,
pub profile: Option<String>,
pub user: Option<String>,
pub value: Option<String>,
}Expand description
Arguments for the Slack Web API method users.profile.set: Set a user’s profile information, including custom status.
Send it with SlackClient::users_profile_set.
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.name: Option<String>Name of a single key to set. Usable only if profile is not passed.
profile: Option<String>Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters.
user: Option<String>ID of user to change. This argument may only be specified by admins on paid teams.
value: Option<String>Value to set a single key to. Usable only if profile is not passed.
Implementations§
Trait Implementations§
Source§impl Clone for UsersProfileSetRequest
impl Clone for UsersProfileSetRequest
Source§impl Debug for UsersProfileSetRequest
impl Debug for UsersProfileSetRequest
Source§impl Default for UsersProfileSetRequest
impl Default for UsersProfileSetRequest
Source§impl PartialEq for UsersProfileSetRequest
impl PartialEq for UsersProfileSetRequest
Source§impl Serialize for UsersProfileSetRequest
impl Serialize for UsersProfileSetRequest
impl StructuralPartialEq for UsersProfileSetRequest
Auto Trait Implementations§
impl Freeze for UsersProfileSetRequest
impl RefUnwindSafe for UsersProfileSetRequest
impl Send for UsersProfileSetRequest
impl Sync for UsersProfileSetRequest
impl Unpin for UsersProfileSetRequest
impl UnsafeUnpin for UsersProfileSetRequest
impl UnwindSafe for UsersProfileSetRequest
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