[][src]Struct slack_chat_api::UserInvite

pub struct UserInvite {
    pub channel_ids: Vec<String>,
    pub email: String,
    pub team_id: String,
    pub custom_message: String,
    pub is_restricted: bool,
    pub is_ultra_restricted: bool,
    pub real_name: String,
    pub resend: bool,
}

The data type for an invited user. FROM: https://api.slack.com/methods/admin.users.invite

Fields

channel_ids: Vec<String>

A comma-separated list of channel_ids for this user to join. At least one channel is required.

email: String

The email address of the person to invite.

team_id: String

The ID of the workspace.

custom_message: String

An optional message to send to the user in the invite email.

is_restricted: bool

Is this user a multi-channel guest user? (default: false)

is_ultra_restricted: bool

Is this user a single channel guest user? (default: false)

real_name: String

Full name of the user.

resend: bool

Allow this invite to be resent in the future if a user has not signed up yet. (default: false)

Trait Implementations

impl Clone for UserInvite[src]

impl Debug for UserInvite[src]

impl Default for UserInvite[src]

impl<'de> Deserialize<'de> for UserInvite[src]

impl Serialize for UserInvite[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,