pub struct BaseConsumerDump {
    pub id: String,
    pub type_: Type,
    pub producer_id: String,
    pub kind: MediaKind,
    pub rtp_parameters: Box<RtpParameters>,
    pub consumable_rtp_encodings: Vec<RtpEncodingParameters>,
    pub supported_codec_payload_types: Vec<u8>,
    pub trace_event_types: Vec<TraceEventType>,
    pub paused: bool,
    pub producer_paused: bool,
    pub priority: u8,
}
Expand description

The table BaseConsumerDump in the namespace FBS.Consumer

Generated from these locations:

  • Table BaseConsumerDump in the file fbs/consumer.fbs:51

Fields§

§id: String

The field id in the table BaseConsumerDump

§type_: Type

The field type in the table BaseConsumerDump

§producer_id: String

The field producer_id in the table BaseConsumerDump

§kind: MediaKind

The field kind in the table BaseConsumerDump

§rtp_parameters: Box<RtpParameters>

The field rtp_parameters in the table BaseConsumerDump

§consumable_rtp_encodings: Vec<RtpEncodingParameters>

The field consumable_rtp_encodings in the table BaseConsumerDump

§supported_codec_payload_types: Vec<u8>

The field supported_codec_payload_types in the table BaseConsumerDump

§trace_event_types: Vec<TraceEventType>

The field trace_event_types in the table BaseConsumerDump

§paused: bool

The field paused in the table BaseConsumerDump

§producer_paused: bool

The field producer_paused in the table BaseConsumerDump

§priority: u8

The field priority in the table BaseConsumerDump

Implementations§

source§

impl BaseConsumerDump

source

pub fn builder() -> BaseConsumerDumpBuilder<()>

Creates a BaseConsumerDumpBuilder for serializing an instance of this table.

source

pub fn create( builder: &mut Builder, field_id: impl WriteAs<Offset<str>>, field_type_: impl WriteAsDefault<Type, Type>, field_producer_id: impl WriteAs<Offset<str>>, field_kind: impl WriteAsDefault<MediaKind, MediaKind>, field_rtp_parameters: impl WriteAs<Offset<RtpParameters>>, field_consumable_rtp_encodings: impl WriteAs<Offset<[Offset<RtpEncodingParameters>]>>, field_supported_codec_payload_types: impl WriteAs<Offset<[u8]>>, field_trace_event_types: impl WriteAs<Offset<[TraceEventType]>>, field_paused: impl WriteAsDefault<bool, bool>, field_producer_paused: impl WriteAsDefault<bool, bool>, field_priority: impl WriteAsDefault<u8, u8> ) -> Offset<Self>

Trait Implementations§

source§

impl Clone for BaseConsumerDump

source§

fn clone(&self) -> BaseConsumerDump

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BaseConsumerDump

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BaseConsumerDump

source§

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 PartialEq for BaseConsumerDump

source§

fn eq(&self, other: &BaseConsumerDump) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for BaseConsumerDump

source§

fn partial_cmp(&self, other: &BaseConsumerDump) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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 more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for BaseConsumerDump

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> TryFrom<BaseConsumerDumpRef<'a>> for BaseConsumerDump

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(value: BaseConsumerDumpRef<'a>) -> Result<Self>

Performs the conversion.
source§

impl StructuralPartialEq for BaseConsumerDump

source§

impl VectorWrite<Offset<BaseConsumerDump>> for BaseConsumerDump

source§

impl WriteAs<Offset<BaseConsumerDump>> for BaseConsumerDump

source§

impl WriteAsOffset<BaseConsumerDump> for BaseConsumerDump

source§

impl<T0: WriteAs<Offset<str>>, T1: WriteAsDefault<Type, Type>, T2: WriteAs<Offset<str>>, T3: WriteAsDefault<MediaKind, MediaKind>, T4: WriteAs<Offset<RtpParameters>>, T5: WriteAs<Offset<[Offset<RtpEncodingParameters>]>>, T6: WriteAs<Offset<[u8]>>, T7: WriteAs<Offset<[TraceEventType]>>, T8: WriteAsDefault<bool, bool>, T9: WriteAsDefault<bool, bool>, T10: WriteAsDefault<u8, u8>> WriteAsOffset<BaseConsumerDump> for BaseConsumerDumpBuilder<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)>

source§

impl WriteAsOptional<Offset<BaseConsumerDump>> for BaseConsumerDump

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,