Struct slack_api::users_profile::SetRequest
[−]
[src]
pub struct SetRequest<'a> { pub user: Option<&'a str>, pub profile: Option<&'a str>, pub name: Option<&'a str>, pub value: Option<&'a str>, }
Fields
user: Option<&'a str>
ID of user to change. This argument may only be specified by team admins on paid teams.
profile: Option<&'a str>
Collection of key:value pairs presented as a URL-encoded JSON hash.
name: Option<&'a str>
Name of a single key to set. Usable only if profile is not passed.
value: Option<&'a str>
Value to set a single key to. Usable only if profile is not passed.
Trait Implementations
impl<'a> Clone for SetRequest<'a>
[src]
fn clone(&self) -> SetRequest<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Default for SetRequest<'a>
[src]
fn default() -> SetRequest<'a>
Returns the "default value" for a type. Read more