pub struct EventsConfiguration {
pub bot_id: Option<String>,
pub lambda_function_arn: Option<String>,
pub outbound_events_https_endpoint: Option<String>,
}
Expand description
The configuration that allows a bot to receive outgoing events. Can be either an HTTPS endpoint or a Lambda function ARN.
Fields§
§bot_id: Option<String>
The bot ID.
lambda_function_arn: Option<String>
Lambda function ARN that allows a bot to receive outgoing events.
outbound_events_https_endpoint: Option<String>
HTTPS endpoint that allows a bot to receive outgoing events.
Trait Implementations§
Source§impl Clone for EventsConfiguration
impl Clone for EventsConfiguration
Source§fn clone(&self) -> EventsConfiguration
fn clone(&self) -> EventsConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventsConfiguration
impl Debug for EventsConfiguration
Source§impl Default for EventsConfiguration
impl Default for EventsConfiguration
Source§fn default() -> EventsConfiguration
fn default() -> EventsConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventsConfiguration
impl<'de> Deserialize<'de> for EventsConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventsConfiguration
impl PartialEq for EventsConfiguration
impl StructuralPartialEq for EventsConfiguration
Auto Trait Implementations§
impl Freeze for EventsConfiguration
impl RefUnwindSafe for EventsConfiguration
impl Send for EventsConfiguration
impl Sync for EventsConfiguration
impl Unpin for EventsConfiguration
impl UnwindSafe for EventsConfiguration
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