#[non_exhaustive]pub struct ParticipantTokenCredentials { /* private fields */ }Expand description
The credentials used by the participant.
Implementations§
source§impl ParticipantTokenCredentials
impl ParticipantTokenCredentials
sourcepub fn participant_token(&self) -> Option<&str>
pub fn participant_token(&self) -> Option<&str>
The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
source§impl ParticipantTokenCredentials
impl ParticipantTokenCredentials
sourcepub fn builder() -> ParticipantTokenCredentialsBuilder
pub fn builder() -> ParticipantTokenCredentialsBuilder
Creates a new builder-style object to manufacture ParticipantTokenCredentials.
Trait Implementations§
source§impl Clone for ParticipantTokenCredentials
impl Clone for ParticipantTokenCredentials
source§fn clone(&self) -> ParticipantTokenCredentials
fn clone(&self) -> ParticipantTokenCredentials
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 ParticipantTokenCredentials
impl Debug for ParticipantTokenCredentials
source§impl PartialEq<ParticipantTokenCredentials> for ParticipantTokenCredentials
impl PartialEq<ParticipantTokenCredentials> for ParticipantTokenCredentials
source§fn eq(&self, other: &ParticipantTokenCredentials) -> bool
fn eq(&self, other: &ParticipantTokenCredentials) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ParticipantTokenCredentials
Auto Trait Implementations§
impl RefUnwindSafe for ParticipantTokenCredentials
impl Send for ParticipantTokenCredentials
impl Sync for ParticipantTokenCredentials
impl Unpin for ParticipantTokenCredentials
impl UnwindSafe for ParticipantTokenCredentials
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