Struct mediasoup_sys::fbs::data_consumer::GetStatsResponse
source · pub struct GetStatsResponse {
pub timestamp: u64,
pub label: String,
pub protocol: String,
pub messages_sent: u64,
pub bytes_sent: u64,
pub buffered_amount: u32,
}
Expand description
The table GetStatsResponse
in the namespace FBS.DataConsumer
Generated from these locations:
- Table
GetStatsResponse
in the filefbs/dataConsumer.fbs:28
Fields§
§timestamp: u64
The field timestamp
in the table GetStatsResponse
label: String
The field label
in the table GetStatsResponse
protocol: String
The field protocol
in the table GetStatsResponse
messages_sent: u64
The field messages_sent
in the table GetStatsResponse
bytes_sent: u64
The field bytes_sent
in the table GetStatsResponse
buffered_amount: u32
The field buffered_amount
in the table GetStatsResponse
Implementations§
source§impl GetStatsResponse
impl GetStatsResponse
sourcepub fn builder() -> GetStatsResponseBuilder<()>
pub fn builder() -> GetStatsResponseBuilder<()>
Creates a GetStatsResponseBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_timestamp: impl WriteAsDefault<u64, u64>, field_label: impl WriteAs<Offset<str>>, field_protocol: impl WriteAs<Offset<str>>, field_messages_sent: impl WriteAsDefault<u64, u64>, field_bytes_sent: impl WriteAsDefault<u64, u64>, field_buffered_amount: impl WriteAsDefault<u32, u32> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for GetStatsResponse
impl Clone for GetStatsResponse
source§fn clone(&self) -> GetStatsResponse
fn clone(&self) -> GetStatsResponse
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 GetStatsResponse
impl Debug for GetStatsResponse
source§impl<'de> Deserialize<'de> for GetStatsResponse
impl<'de> Deserialize<'de> for GetStatsResponse
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 GetStatsResponse
impl Hash for GetStatsResponse
source§impl Ord for GetStatsResponse
impl Ord for GetStatsResponse
source§fn cmp(&self, other: &GetStatsResponse) -> Ordering
fn cmp(&self, other: &GetStatsResponse) -> 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 GetStatsResponse
impl PartialEq for GetStatsResponse
source§fn eq(&self, other: &GetStatsResponse) -> bool
fn eq(&self, other: &GetStatsResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetStatsResponse
impl PartialOrd for GetStatsResponse
source§fn partial_cmp(&self, other: &GetStatsResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &GetStatsResponse) -> 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 GetStatsResponse
impl Serialize for GetStatsResponse
source§impl<'a> TryFrom<GetStatsResponseRef<'a>> for GetStatsResponse
impl<'a> TryFrom<GetStatsResponseRef<'a>> for GetStatsResponse
impl Eq for GetStatsResponse
impl StructuralPartialEq for GetStatsResponse
impl VectorWrite<Offset<GetStatsResponse>> for GetStatsResponse
impl WriteAs<Offset<GetStatsResponse>> for GetStatsResponse
impl WriteAsOffset<GetStatsResponse> for GetStatsResponse
impl<T0: WriteAsDefault<u64, u64>, T1: WriteAs<Offset<str>>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<u64, u64>, T4: WriteAsDefault<u64, u64>, T5: WriteAsDefault<u32, u32>> WriteAsOffset<GetStatsResponse> for GetStatsResponseBuilder<(T0, T1, T2, T3, T4, T5)>
impl WriteAsOptional<Offset<GetStatsResponse>> for GetStatsResponse
Auto Trait Implementations§
impl RefUnwindSafe for GetStatsResponse
impl Send for GetStatsResponse
impl Sync for GetStatsResponse
impl Unpin for GetStatsResponse
impl UnwindSafe for GetStatsResponse
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