Struct aws_sdk_chime::input::ListChannelsInput
source · [−]#[non_exhaustive]pub struct ListChannelsInput {
pub app_instance_arn: Option<String>,
pub privacy: Option<ChannelPrivacy>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub chime_bearer: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.app_instance_arn: Option<String>
The ARN of the AppInstance
.
privacy: Option<ChannelPrivacy>
The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves private channels. Only an AppInstanceAdmin
can retrieve private channels.
max_results: Option<i32>
The maximum number of channels that you want to return.
next_token: Option<String>
The token passed by previous API calls until all requested channels are returned.
chime_bearer: Option<String>
The AppInstanceUserArn
of the user that makes the API call.
Implementations
sourceimpl ListChannelsInput
impl ListChannelsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListChannels, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListChannels, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListChannels
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListChannelsInput
sourceimpl ListChannelsInput
impl ListChannelsInput
sourcepub fn app_instance_arn(&self) -> Option<&str>
pub fn app_instance_arn(&self) -> Option<&str>
The ARN of the AppInstance
.
sourcepub fn privacy(&self) -> Option<&ChannelPrivacy>
pub fn privacy(&self) -> Option<&ChannelPrivacy>
The privacy setting. PUBLIC
retrieves all the public channels. PRIVATE
retrieves private channels. Only an AppInstanceAdmin
can retrieve private channels.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of channels that you want to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token passed by previous API calls until all requested channels are returned.
sourcepub fn chime_bearer(&self) -> Option<&str>
pub fn chime_bearer(&self) -> Option<&str>
The AppInstanceUserArn
of the user that makes the API call.
Trait Implementations
sourceimpl Clone for ListChannelsInput
impl Clone for ListChannelsInput
sourcefn clone(&self) -> ListChannelsInput
fn clone(&self) -> ListChannelsInput
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 ListChannelsInput
impl Debug for ListChannelsInput
sourceimpl PartialEq<ListChannelsInput> for ListChannelsInput
impl PartialEq<ListChannelsInput> for ListChannelsInput
sourcefn eq(&self, other: &ListChannelsInput) -> bool
fn eq(&self, other: &ListChannelsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListChannelsInput) -> bool
fn ne(&self, other: &ListChannelsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListChannelsInput
Auto Trait Implementations
impl RefUnwindSafe for ListChannelsInput
impl Send for ListChannelsInput
impl Sync for ListChannelsInput
impl Unpin for ListChannelsInput
impl UnwindSafe for ListChannelsInput
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> 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