pub struct RtcRtpTransceiverStats {
pub sender_id: Option<String>,
pub receiver_id: Option<String>,
pub mid: Option<String>,
}Expand description
RTCRtpTransceiverStats object representing an RTCRtpTransceiver of an RTCPeerConnection.
It appears as soon as the monitored RTCRtpTransceiver object is created, such as by invoking addTransceiver, addTrack or setRemoteDescription. RTCRtpTransceiverStats objects can only be deleted if the corresponding RTCRtpTransceiver is removed (this can only happen if a remote description is rolled back).
RtcStatsType::Transceiver variant.
Fields§
§sender_id: Option<String>ID of the stats object representing the RTCRtpSender associated with the RTCRtpTransceiver represented by this stats object.
receiver_id: Option<String>ID of the stats object representing the RTCRtpReceiver associated with the RTCRtpTransceiver represented by this stats object.
mid: Option<String>If the RTCRtpTransceiver that this stats object represents has a
mid value that is not null, this is that value, otherwise this
value is undefined.
Trait Implementations§
source§impl Clone for RtcRtpTransceiverStats
impl Clone for RtcRtpTransceiverStats
source§fn clone(&self) -> RtcRtpTransceiverStats
fn clone(&self) -> RtcRtpTransceiverStats
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RtcRtpTransceiverStats
impl Debug for RtcRtpTransceiverStats
source§impl<'de> Deserialize<'de> for RtcRtpTransceiverStats
impl<'de> Deserialize<'de> for RtcRtpTransceiverStats
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Hash for RtcRtpTransceiverStats
impl Hash for RtcRtpTransceiverStats
source§impl PartialEq for RtcRtpTransceiverStats
impl PartialEq for RtcRtpTransceiverStats
source§impl Serialize for RtcRtpTransceiverStats
impl Serialize for RtcRtpTransceiverStats
impl Eq for RtcRtpTransceiverStats
impl StructuralPartialEq for RtcRtpTransceiverStats
Auto Trait Implementations§
impl Freeze for RtcRtpTransceiverStats
impl RefUnwindSafe for RtcRtpTransceiverStats
impl Send for RtcRtpTransceiverStats
impl Sync for RtcRtpTransceiverStats
impl Unpin for RtcRtpTransceiverStats
impl UnwindSafe for RtcRtpTransceiverStats
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)