Struct mediasoup::producer::ProducerScore
source · pub struct ProducerScore {
pub encoding_idx: u32,
pub ssrc: u32,
pub rid: Option<String>,
pub score: u8,
}
Expand description
Score of the RTP stream in the producer representing its transmission quality.
Fields§
§encoding_idx: u32
Index of the RTP stream in the RtpParameters::encodings
array of the producer.
ssrc: u32
RTP stream SSRC.
rid: Option<String>
RTP stream RID value.
score: u8
RTP stream score (from 0 to 10) representing the transmission quality.
Trait Implementations§
source§impl Clone for ProducerScore
impl Clone for ProducerScore
source§fn clone(&self) -> ProducerScore
fn clone(&self) -> ProducerScore
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 ProducerScore
impl Debug for ProducerScore
source§impl<'de> Deserialize<'de> for ProducerScore
impl<'de> Deserialize<'de> for ProducerScore
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ProducerScore
impl PartialEq for ProducerScore
source§fn eq(&self, other: &ProducerScore) -> bool
fn eq(&self, other: &ProducerScore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ProducerScore
impl Serialize for ProducerScore
impl Eq for ProducerScore
impl StructuralPartialEq for ProducerScore
Auto Trait Implementations§
impl Freeze for ProducerScore
impl RefUnwindSafe for ProducerScore
impl Send for ProducerScore
impl Sync for ProducerScore
impl Unpin for ProducerScore
impl UnwindSafe for ProducerScore
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