pub struct RtpCodecParameters {
pub payload_type: u8,
pub mime_type: String,
pub clock_rate: Option<u64>,
pub channels: Option<u16>,
}
Fields§
§payload_type: u8
§mime_type: String
§clock_rate: Option<u64>
§channels: Option<u16>
Trait Implementations§
Source§impl Clone for RtpCodecParameters
impl Clone for RtpCodecParameters
Source§fn clone(&self) -> RtpCodecParameters
fn clone(&self) -> RtpCodecParameters
Returns a duplicate 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 RtpCodecParameters
impl Debug for RtpCodecParameters
Source§impl Default for RtpCodecParameters
impl Default for RtpCodecParameters
Source§fn default() -> RtpCodecParameters
fn default() -> RtpCodecParameters
Returns the “default value” for a type. Read more
Source§impl From<RtpCodecParameters> for RtpCodecParameters
impl From<RtpCodecParameters> for RtpCodecParameters
Source§fn from(value: RtpCodecParameters) -> Self
fn from(value: RtpCodecParameters) -> Self
Converts to this type from the input type.
Source§impl From<RtpCodecParameters> for RtpCodecParameters
impl From<RtpCodecParameters> for RtpCodecParameters
Source§fn from(value: RtpCodecParameters) -> Self
fn from(value: RtpCodecParameters) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RtpCodecParameters
impl RefUnwindSafe for RtpCodecParameters
impl Send for RtpCodecParameters
impl Sync for RtpCodecParameters
impl Unpin for RtpCodecParameters
impl UnwindSafe for RtpCodecParameters
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