Struct rusoto_chime::CreateChannelRequest
source · [−]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
.
The tags for the creation request.
Trait Implementations
sourceimpl Clone for CreateChannelRequest
impl Clone for CreateChannelRequest
sourcefn clone(&self) -> CreateChannelRequest
fn clone(&self) -> CreateChannelRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateChannelRequest
impl Debug for CreateChannelRequest
sourceimpl Default for CreateChannelRequest
impl Default for CreateChannelRequest
sourcefn default() -> CreateChannelRequest
fn default() -> CreateChannelRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateChannelRequest> for CreateChannelRequest
impl PartialEq<CreateChannelRequest> for CreateChannelRequest
sourcefn eq(&self, other: &CreateChannelRequest) -> bool
fn eq(&self, other: &CreateChannelRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateChannelRequest) -> bool
fn ne(&self, other: &CreateChannelRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateChannelRequest
impl Serialize for CreateChannelRequest
impl StructuralPartialEq for CreateChannelRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateChannelRequest
impl Send for CreateChannelRequest
impl Sync for CreateChannelRequest
impl Unpin for CreateChannelRequest
impl UnwindSafe for CreateChannelRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more