logo
pub struct CreateChannelRequest {
    pub app_instance_arn: String,
    pub chime_bearer: Option<String>,
    pub client_request_token: String,
    pub metadata: Option<String>,
    pub mode: Option<String>,
    pub name: String,
    pub privacy: Option<String>,
    pub tags: Option<Vec<Tag>>,
}

Fields

app_instance_arn: String

The ARN of the channel request.

chime_bearer: Option<String>

The AppInstanceUserArn of the user that makes the API call.

client_request_token: String

The client token for the request. An Idempotency token.

metadata: Option<String>

The metadata of the creation request. Limited to 1KB and UTF-8.

mode: Option<String>

The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.

name: String

The name of the channel.

privacy: Option<String>

The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in the AppInstance.

tags: Option<Vec<Tag>>

The tags for the creation request.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more