pub struct ConferenceParticipantChange {
pub conference_id: ConferenceId,
pub participant: ConferenceParticipant,
}Expand description
A participant-identity change independent of application-envelope routing.
Fields§
§conference_id: ConferenceId§participant: ConferenceParticipantImplementations§
Source§impl ConferenceParticipantChange
impl ConferenceParticipantChange
Sourcepub fn to_user_data_v1(
&self,
routing: ParticipantChangeRouting,
) -> Result<UserDataV1Message, CodecError>
pub fn to_user_data_v1( &self, routing: ParticipantChangeRouting, ) -> Result<UserDataV1Message, CodecError>
Place the typed participant change inside the standard V1 application envelope. The caller supplies application-specific routing metadata.
Sourcepub fn from_user_data_v1(
message: &UserDataV1Message,
) -> Result<Self, CodecError>
pub fn from_user_data_v1( message: &UserDataV1Message, ) -> Result<Self, CodecError>
Decode a participant change from a V1 application envelope and reject mismatched envelope/payload call or conference identities.
Trait Implementations§
Source§impl Clone for ConferenceParticipantChange
impl Clone for ConferenceParticipantChange
Source§fn clone(&self) -> ConferenceParticipantChange
fn clone(&self) -> ConferenceParticipantChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConferenceParticipantChange
impl Debug for ConferenceParticipantChange
impl Eq for ConferenceParticipantChange
impl StructuralPartialEq for ConferenceParticipantChange
Auto Trait Implementations§
impl Freeze for ConferenceParticipantChange
impl RefUnwindSafe for ConferenceParticipantChange
impl Send for ConferenceParticipantChange
impl Sync for ConferenceParticipantChange
impl Unpin for ConferenceParticipantChange
impl UnsafeUnpin for ConferenceParticipantChange
impl UnwindSafe for ConferenceParticipantChange
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