Struct aws_sdk_connectparticipant::operation::create_participant_connection::CreateParticipantConnectionInput
source · #[non_exhaustive]pub struct CreateParticipantConnectionInput {
pub type: Option<Vec<ConnectionType>>,
pub participant_token: Option<String>,
pub connect_participant: Option<bool>,
}
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.type: Option<Vec<ConnectionType>>
Type of connection information required. If you need CONNECTION_CREDENTIALS
along with marking participant as connected, pass CONNECTION_CREDENTIALS
in Type
.
participant_token: Option<String>
This is a header parameter.
The ParticipantToken as obtained from StartChatContact API response.
connect_participant: Option<bool>
Amazon Connect Participant is used to mark the participant as connected for customer participant in message streaming, as well as for agent or manager participant in non-streaming chats.
Implementations§
source§impl CreateParticipantConnectionInput
impl CreateParticipantConnectionInput
sourcepub fn type(&self) -> &[ConnectionType]
pub fn type(&self) -> &[ConnectionType]
Type of connection information required. If you need CONNECTION_CREDENTIALS
along with marking participant as connected, pass CONNECTION_CREDENTIALS
in Type
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .r#type.is_none()
.
sourcepub fn participant_token(&self) -> Option<&str>
pub fn participant_token(&self) -> Option<&str>
This is a header parameter.
The ParticipantToken as obtained from StartChatContact API response.
sourcepub fn connect_participant(&self) -> Option<bool>
pub fn connect_participant(&self) -> Option<bool>
Amazon Connect Participant is used to mark the participant as connected for customer participant in message streaming, as well as for agent or manager participant in non-streaming chats.
source§impl CreateParticipantConnectionInput
impl CreateParticipantConnectionInput
sourcepub fn builder() -> CreateParticipantConnectionInputBuilder
pub fn builder() -> CreateParticipantConnectionInputBuilder
Creates a new builder-style object to manufacture CreateParticipantConnectionInput
.
Trait Implementations§
source§impl Clone for CreateParticipantConnectionInput
impl Clone for CreateParticipantConnectionInput
source§fn clone(&self) -> CreateParticipantConnectionInput
fn clone(&self) -> CreateParticipantConnectionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateParticipantConnectionInput
impl PartialEq for CreateParticipantConnectionInput
source§fn eq(&self, other: &CreateParticipantConnectionInput) -> bool
fn eq(&self, other: &CreateParticipantConnectionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateParticipantConnectionInput
Auto Trait Implementations§
impl Freeze for CreateParticipantConnectionInput
impl RefUnwindSafe for CreateParticipantConnectionInput
impl Send for CreateParticipantConnectionInput
impl Sync for CreateParticipantConnectionInput
impl Unpin for CreateParticipantConnectionInput
impl UnwindSafe for CreateParticipantConnectionInput
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
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>
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>
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 more