Struct rusoto_connect::StartChatContactRequest
source · [−]pub struct StartChatContactRequest {
pub attributes: Option<HashMap<String, String>>,
pub client_token: Option<String>,
pub contact_flow_id: String,
pub initial_message: Option<ChatMessage>,
pub instance_id: String,
pub participant_details: ParticipantDetails,
}
Fields
attributes: Option<HashMap<String, String>>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
contact_flow_id: String
The identifier of the contact flow for initiating the chat. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
initial_message: Option<ChatMessage>
The initial message to be sent to the newly created chat.
instance_id: String
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
participant_details: ParticipantDetails
Information identifying the participant.
Trait Implementations
sourceimpl Clone for StartChatContactRequest
impl Clone for StartChatContactRequest
sourcefn clone(&self) -> StartChatContactRequest
fn clone(&self) -> StartChatContactRequest
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 StartChatContactRequest
impl Debug for StartChatContactRequest
sourceimpl Default for StartChatContactRequest
impl Default for StartChatContactRequest
sourcefn default() -> StartChatContactRequest
fn default() -> StartChatContactRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartChatContactRequest> for StartChatContactRequest
impl PartialEq<StartChatContactRequest> for StartChatContactRequest
sourcefn eq(&self, other: &StartChatContactRequest) -> bool
fn eq(&self, other: &StartChatContactRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartChatContactRequest) -> bool
fn ne(&self, other: &StartChatContactRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for StartChatContactRequest
impl Serialize for StartChatContactRequest
impl StructuralPartialEq for StartChatContactRequest
Auto Trait Implementations
impl RefUnwindSafe for StartChatContactRequest
impl Send for StartChatContactRequest
impl Sync for StartChatContactRequest
impl Unpin for StartChatContactRequest
impl UnwindSafe for StartChatContactRequest
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