pub struct SendStats {
pub base: Box<Stats>,
pub packet_count: u64,
pub byte_count: u64,
pub bitrate: u32,
}
Expand description
The table SendStats
in the namespace FBS.RtpStream
Generated from these locations:
- Table
SendStats
in the filefbs/rtpStream.fbs:76
Fields§
§base: Box<Stats>
The field base
in the table SendStats
packet_count: u64
The field packet_count
in the table SendStats
byte_count: u64
The field byte_count
in the table SendStats
bitrate: u32
The field bitrate
in the table SendStats
Implementations§
Source§impl SendStats
impl SendStats
Sourcepub fn builder() -> SendStatsBuilder<()>
pub fn builder() -> SendStatsBuilder<()>
Creates a SendStatsBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_base: impl WriteAs<Offset<Stats>>, field_packet_count: impl WriteAsDefault<u64, u64>, field_byte_count: impl WriteAsDefault<u64, u64>, field_bitrate: impl WriteAsDefault<u32, u32>, ) -> Offset<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SendStats
impl<'de> Deserialize<'de> for SendStats
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 PartialOrd for SendStats
impl PartialOrd for SendStats
Source§impl<'a> TryFrom<SendStatsRef<'a>> for SendStats
impl<'a> TryFrom<SendStatsRef<'a>> for SendStats
impl StructuralPartialEq for SendStats
impl VectorWrite<Offset<SendStats>> for SendStats
impl WriteAs<Offset<SendStats>> for SendStats
impl WriteAsOffset<SendStats> for SendStats
impl<T0: WriteAs<Offset<Stats>>, T1: WriteAsDefault<u64, u64>, T2: WriteAsDefault<u64, u64>, T3: WriteAsDefault<u32, u32>> WriteAsOffset<SendStats> for SendStatsBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<SendStats>> for SendStats
Auto Trait Implementations§
impl Freeze for SendStats
impl RefUnwindSafe for SendStats
impl Send for SendStats
impl Sync for SendStats
impl Unpin for SendStats
impl UnwindSafe for SendStats
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