Struct mediasoup_sys::fbs::consumer::ConsumerScore
source · pub struct ConsumerScore {
pub score: u8,
pub producer_score: u8,
pub producer_scores: Vec<u8>,
}
Expand description
The table ConsumerScore
in the namespace FBS.Consumer
Generated from these locations:
- Table
ConsumerScore
in the filefbs/consumer.fbs:13
Fields§
§score: u8
The field score
in the table ConsumerScore
producer_score: u8
The field producer_score
in the table ConsumerScore
producer_scores: Vec<u8>
The field producer_scores
in the table ConsumerScore
Implementations§
source§impl ConsumerScore
impl ConsumerScore
sourcepub fn builder() -> ConsumerScoreBuilder<()>
pub fn builder() -> ConsumerScoreBuilder<()>
Creates a ConsumerScoreBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_score: impl WriteAsDefault<u8, u8>, field_producer_score: impl WriteAsDefault<u8, u8>, field_producer_scores: impl WriteAs<Offset<[u8]>> ) -> Offset<Self>
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§fn eq(&self, other: &ConsumerScore) -> bool
fn eq(&self, other: &ConsumerScore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConsumerScore
impl PartialOrd for ConsumerScore
source§fn partial_cmp(&self, other: &ConsumerScore) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsumerScore) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ConsumerScore
impl Serialize for ConsumerScore
source§impl<'a> TryFrom<ConsumerScoreRef<'a>> for ConsumerScore
impl<'a> TryFrom<ConsumerScoreRef<'a>> for ConsumerScore
impl Eq for ConsumerScore
impl StructuralPartialEq for ConsumerScore
impl VectorWrite<Offset<ConsumerScore>> for ConsumerScore
impl WriteAs<Offset<ConsumerScore>> for ConsumerScore
impl WriteAsOffset<ConsumerScore> for ConsumerScore
impl<T0: WriteAsDefault<u8, u8>, T1: WriteAsDefault<u8, u8>, T2: WriteAs<Offset<[u8]>>> WriteAsOffset<ConsumerScore> for ConsumerScoreBuilder<(T0, T1, T2)>
impl WriteAsOptional<Offset<ConsumerScore>> for ConsumerScore
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more