Struct aws_sdk_chime::types::Bot
source · #[non_exhaustive]pub struct Bot {
pub bot_id: Option<String>,
pub user_id: Option<String>,
pub display_name: Option<String>,
pub bot_type: Option<BotType>,
pub disabled: Option<bool>,
pub created_timestamp: Option<DateTime>,
pub updated_timestamp: Option<DateTime>,
pub bot_email: Option<String>,
pub security_token: Option<String>,
}
Expand description
A resource that allows Enterprise account administrators to configure an interface to receive events from Amazon Chime.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bot_id: Option<String>
The bot ID.
user_id: Option<String>
The unique ID for the bot user.
display_name: Option<String>
The bot display name.
bot_type: Option<BotType>
The bot type.
disabled: Option<bool>
When true, the bot is stopped from running in your account.
created_timestamp: Option<DateTime>
The bot creation timestamp, in ISO 8601 format.
updated_timestamp: Option<DateTime>
The updated bot timestamp, in ISO 8601 format.
bot_email: Option<String>
The bot email address.
security_token: Option<String>
The security token used to authenticate Amazon Chime with the outgoing event endpoint.
Implementations§
source§impl Bot
impl Bot
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The bot display name.
sourcepub fn disabled(&self) -> Option<bool>
pub fn disabled(&self) -> Option<bool>
When true, the bot is stopped from running in your account.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The bot creation timestamp, in ISO 8601 format.
sourcepub fn updated_timestamp(&self) -> Option<&DateTime>
pub fn updated_timestamp(&self) -> Option<&DateTime>
The updated bot timestamp, in ISO 8601 format.
sourcepub fn security_token(&self) -> Option<&str>
pub fn security_token(&self) -> Option<&str>
The security token used to authenticate Amazon Chime with the outgoing event endpoint.
Trait Implementations§
impl StructuralPartialEq for Bot
Auto Trait Implementations§
impl Freeze for Bot
impl RefUnwindSafe for Bot
impl Send for Bot
impl Sync for Bot
impl Unpin for Bot
impl UnwindSafe for Bot
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.