#[non_exhaustive]pub struct CreateParticipantOutput {
pub participant_credentials: Option<ParticipantTokenCredentials>,
pub participant_id: Option<String>,
/* private fields */
}
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.participant_credentials: Option<ParticipantTokenCredentials>
The token used by the chat participant to call CreateParticipantConnection
. The participant token is valid for the lifetime of a chat participant.
participant_id: Option<String>
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
Implementations§
source§impl CreateParticipantOutput
impl CreateParticipantOutput
sourcepub fn participant_credentials(&self) -> Option<&ParticipantTokenCredentials>
pub fn participant_credentials(&self) -> Option<&ParticipantTokenCredentials>
The token used by the chat participant to call CreateParticipantConnection
. The participant token is valid for the lifetime of a chat participant.
sourcepub fn participant_id(&self) -> Option<&str>
pub fn participant_id(&self) -> Option<&str>
The identifier for a chat participant. The participantId for a chat participant is the same throughout the chat lifecycle.
source§impl CreateParticipantOutput
impl CreateParticipantOutput
sourcepub fn builder() -> CreateParticipantOutputBuilder
pub fn builder() -> CreateParticipantOutputBuilder
Creates a new builder-style object to manufacture CreateParticipantOutput
.
Trait Implementations§
source§impl Clone for CreateParticipantOutput
impl Clone for CreateParticipantOutput
source§fn clone(&self) -> CreateParticipantOutput
fn clone(&self) -> CreateParticipantOutput
Returns a copy 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 CreateParticipantOutput
impl Debug for CreateParticipantOutput
source§impl PartialEq for CreateParticipantOutput
impl PartialEq for CreateParticipantOutput
source§fn eq(&self, other: &CreateParticipantOutput) -> bool
fn eq(&self, other: &CreateParticipantOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateParticipantOutput
impl RequestId for CreateParticipantOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CreateParticipantOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateParticipantOutput
impl Send for CreateParticipantOutput
impl Sync for CreateParticipantOutput
impl Unpin for CreateParticipantOutput
impl UnwindSafe for CreateParticipantOutput
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