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:113
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§impl PartialOrd for CodecMapping
impl PartialOrd for CodecMapping
Source§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 Freeze for CodecMapping
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