pub struct RtpMapping {
pub codecs: Vec<CodecMapping>,
pub encodings: Vec<EncodingMapping>,
}
Expand description
The table RtpMapping
in the namespace FBS.RtpParameters
Generated from these locations:
- Table
RtpMapping
in the filefbs/rtpParameters.fbs:125
Fields§
§codecs: Vec<CodecMapping>
The field codecs
in the table RtpMapping
encodings: Vec<EncodingMapping>
The field encodings
in the table RtpMapping
Implementations§
Source§impl RtpMapping
impl RtpMapping
Sourcepub fn builder() -> RtpMappingBuilder<()>
pub fn builder() -> RtpMappingBuilder<()>
Creates a RtpMappingBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_codecs: impl WriteAs<Offset<[Offset<CodecMapping>]>>, field_encodings: impl WriteAs<Offset<[Offset<EncodingMapping>]>>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for RtpMapping
impl Clone for RtpMapping
Source§fn clone(&self) -> RtpMapping
fn clone(&self) -> RtpMapping
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 RtpMapping
impl Debug for RtpMapping
Source§impl<'de> Deserialize<'de> for RtpMapping
impl<'de> Deserialize<'de> for RtpMapping
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 RtpMapping
impl Hash for RtpMapping
Source§impl Ord for RtpMapping
impl Ord for RtpMapping
Source§fn cmp(&self, other: &RtpMapping) -> Ordering
fn cmp(&self, other: &RtpMapping) -> 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 RtpMapping
impl PartialEq for RtpMapping
Source§impl PartialOrd for RtpMapping
impl PartialOrd for RtpMapping
Source§impl Serialize for RtpMapping
impl Serialize for RtpMapping
Source§impl<'a> TryFrom<RtpMappingRef<'a>> for RtpMapping
impl<'a> TryFrom<RtpMappingRef<'a>> for RtpMapping
impl Eq for RtpMapping
impl StructuralPartialEq for RtpMapping
impl VectorWrite<Offset<RtpMapping>> for RtpMapping
impl WriteAs<Offset<RtpMapping>> for RtpMapping
impl WriteAsOffset<RtpMapping> for RtpMapping
impl<T0: WriteAs<Offset<[Offset<CodecMapping>]>>, T1: WriteAs<Offset<[Offset<EncodingMapping>]>>> WriteAsOffset<RtpMapping> for RtpMappingBuilder<(T0, T1)>
impl WriteAsOptional<Offset<RtpMapping>> for RtpMapping
Auto Trait Implementations§
impl Freeze for RtpMapping
impl RefUnwindSafe for RtpMapping
impl Send for RtpMapping
impl Sync for RtpMapping
impl Unpin for RtpMapping
impl UnwindSafe for RtpMapping
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