pub struct ConsumerScore {
pub score: u8,
pub producer_score: u8,
pub producer_scores: Vec<u8>,
}
Expand description
Score of consumer and corresponding producer.
Fields§
§score: u8
Score of the RTP stream in the consumer (from 0 to 10) representing its transmission quality.
producer_score: u8
Score of the currently selected RTP stream in the associated producer (from 0 to 10) representing its transmission quality.
producer_scores: Vec<u8>
The scores of all RTP streams in the producer ordered by encoding (just useful when the producer uses simulcast).
Trait Implementations§
Source§impl Clone for ConsumerScore
impl Clone for ConsumerScore
Source§fn clone(&self) -> ConsumerScore
fn clone(&self) -> ConsumerScore
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 ConsumerScore
impl Debug for ConsumerScore
Source§impl<'de> Deserialize<'de> for ConsumerScore
impl<'de> Deserialize<'de> for ConsumerScore
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 Hash for ConsumerScore
impl Hash for ConsumerScore
Source§impl Ord for ConsumerScore
impl Ord for ConsumerScore
Source§fn cmp(&self, other: &ConsumerScore) -> Ordering
fn cmp(&self, other: &ConsumerScore) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConsumerScore
impl PartialEq for ConsumerScore
Source§impl PartialOrd for ConsumerScore
impl PartialOrd for ConsumerScore
Source§impl Serialize for ConsumerScore
impl Serialize for ConsumerScore
impl Eq for ConsumerScore
impl StructuralPartialEq for ConsumerScore
Auto Trait Implementations§
impl Freeze for ConsumerScore
impl RefUnwindSafe for ConsumerScore
impl Send for ConsumerScore
impl Sync for ConsumerScore
impl Unpin for ConsumerScore
impl UnwindSafe for ConsumerScore
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