Struct mediasoup_sys::fbs::rtp_parameters::CodecMapping
source · pub struct CodecMapping {
pub payload_type: u8,
pub mapped_payload_type: u8,
}
Expand description
The table CodecMapping
in the namespace FBS.RtpParameters
Generated from these locations:
- Table
CodecMapping
in the filefbs/rtpParameters.fbs:112
Fields§
§payload_type: u8
The field payload_type
in the table CodecMapping
mapped_payload_type: u8
The field mapped_payload_type
in the table CodecMapping
Implementations§
source§impl CodecMapping
impl CodecMapping
sourcepub fn builder() -> CodecMappingBuilder<()>
pub fn builder() -> CodecMappingBuilder<()>
Creates a CodecMappingBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_payload_type: impl WriteAsDefault<u8, u8>, field_mapped_payload_type: impl WriteAsDefault<u8, u8> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for CodecMapping
impl Clone for CodecMapping
source§fn clone(&self) -> CodecMapping
fn clone(&self) -> CodecMapping
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 CodecMapping
impl Debug for CodecMapping
source§impl Default for CodecMapping
impl Default for CodecMapping
source§impl<'de> Deserialize<'de> for CodecMapping
impl<'de> Deserialize<'de> for CodecMapping
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 CodecMapping
impl Hash for CodecMapping
source§impl Ord for CodecMapping
impl Ord for CodecMapping
source§fn cmp(&self, other: &CodecMapping) -> Ordering
fn cmp(&self, other: &CodecMapping) -> 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 CodecMapping
impl PartialEq for CodecMapping
source§fn eq(&self, other: &CodecMapping) -> bool
fn eq(&self, other: &CodecMapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CodecMapping
impl PartialOrd for CodecMapping
source§fn partial_cmp(&self, other: &CodecMapping) -> Option<Ordering>
fn partial_cmp(&self, other: &CodecMapping) -> 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 CodecMapping
impl Serialize for CodecMapping
source§impl<'a> TryFrom<CodecMappingRef<'a>> for CodecMapping
impl<'a> TryFrom<CodecMappingRef<'a>> for CodecMapping
impl Eq for CodecMapping
impl StructuralPartialEq for CodecMapping
impl VectorWrite<Offset<CodecMapping>> for CodecMapping
impl WriteAs<Offset<CodecMapping>> for CodecMapping
impl WriteAsOffset<CodecMapping> for CodecMapping
impl<T0: WriteAsDefault<u8, u8>, T1: WriteAsDefault<u8, u8>> WriteAsOffset<CodecMapping> for CodecMappingBuilder<(T0, T1)>
impl WriteAsOptional<Offset<CodecMapping>> for CodecMapping
Auto Trait Implementations§
impl RefUnwindSafe for CodecMapping
impl Send for CodecMapping
impl Sync for CodecMapping
impl Unpin for CodecMapping
impl UnwindSafe for CodecMapping
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