Struct mediasoup_sys::fbs::transport::ConsumeResponse
source · pub struct ConsumeResponse {
pub paused: bool,
pub producer_paused: bool,
pub score: Box<ConsumerScore>,
pub preferred_layers: Option<Box<ConsumerLayers>>,
}
Expand description
The table ConsumeResponse
in the namespace FBS.Transport
Generated from these locations:
- Table
ConsumeResponse
in the filefbs/transport.fbs:62
Fields§
§paused: bool
The field paused
in the table ConsumeResponse
producer_paused: bool
The field producer_paused
in the table ConsumeResponse
score: Box<ConsumerScore>
The field score
in the table ConsumeResponse
preferred_layers: Option<Box<ConsumerLayers>>
The field preferred_layers
in the table ConsumeResponse
Implementations§
source§impl ConsumeResponse
impl ConsumeResponse
sourcepub fn builder() -> ConsumeResponseBuilder<()>
pub fn builder() -> ConsumeResponseBuilder<()>
Creates a ConsumeResponseBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_paused: impl WriteAsDefault<bool, bool>, field_producer_paused: impl WriteAsDefault<bool, bool>, field_score: impl WriteAs<Offset<ConsumerScore>>, field_preferred_layers: impl WriteAsOptional<Offset<ConsumerLayers>> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for ConsumeResponse
impl Clone for ConsumeResponse
source§fn clone(&self) -> ConsumeResponse
fn clone(&self) -> ConsumeResponse
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 ConsumeResponse
impl Debug for ConsumeResponse
source§impl<'de> Deserialize<'de> for ConsumeResponse
impl<'de> Deserialize<'de> for ConsumeResponse
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 ConsumeResponse
impl Hash for ConsumeResponse
source§impl Ord for ConsumeResponse
impl Ord for ConsumeResponse
source§fn cmp(&self, other: &ConsumeResponse) -> Ordering
fn cmp(&self, other: &ConsumeResponse) -> 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 ConsumeResponse
impl PartialEq for ConsumeResponse
source§fn eq(&self, other: &ConsumeResponse) -> bool
fn eq(&self, other: &ConsumeResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ConsumeResponse
impl PartialOrd for ConsumeResponse
source§fn partial_cmp(&self, other: &ConsumeResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &ConsumeResponse) -> 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 ConsumeResponse
impl Serialize for ConsumeResponse
source§impl<'a> TryFrom<ConsumeResponseRef<'a>> for ConsumeResponse
impl<'a> TryFrom<ConsumeResponseRef<'a>> for ConsumeResponse
impl Eq for ConsumeResponse
impl StructuralPartialEq for ConsumeResponse
impl VectorWrite<Offset<ConsumeResponse>> for ConsumeResponse
impl WriteAs<Offset<ConsumeResponse>> for ConsumeResponse
impl WriteAsOffset<ConsumeResponse> for ConsumeResponse
impl<T0: WriteAsDefault<bool, bool>, T1: WriteAsDefault<bool, bool>, T2: WriteAs<Offset<ConsumerScore>>, T3: WriteAsOptional<Offset<ConsumerLayers>>> WriteAsOffset<ConsumeResponse> for ConsumeResponseBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<ConsumeResponse>> for ConsumeResponse
Auto Trait Implementations§
impl RefUnwindSafe for ConsumeResponse
impl Send for ConsumeResponse
impl Sync for ConsumeResponse
impl Unpin for ConsumeResponse
impl UnwindSafe for ConsumeResponse
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