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

ID of user to change. This argument may only be specified by team admins on paid teams.

Collection of key:value pairs presented as a URL-encoded JSON hash.

Name of a single key to set. Usable only if profile is not passed.

Value to set a single key to. Usable only if profile is not passed.

Trait Implementations

impl<'a> Clone for SetRequest<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Default for SetRequest<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> Debug for SetRequest<'a>
[src]

Formats the value using the given formatter.