pub enum RtpCodecParametersParametersValue {
String(Cow<'static, str>),
Number(u32),
}
Expand description
Single value used in RTP codec parameters.
Variants§
Trait Implementations§
Source§impl Clone for RtpCodecParametersParametersValue
impl Clone for RtpCodecParametersParametersValue
Source§fn clone(&self) -> RtpCodecParametersParametersValue
fn clone(&self) -> RtpCodecParametersParametersValue
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<'de> Deserialize<'de> for RtpCodecParametersParametersValue
impl<'de> Deserialize<'de> for RtpCodecParametersParametersValue
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 From<&'static str> for RtpCodecParametersParametersValue
impl From<&'static str> for RtpCodecParametersParametersValue
Source§impl From<u16> for RtpCodecParametersParametersValue
impl From<u16> for RtpCodecParametersParametersValue
Source§impl From<u32> for RtpCodecParametersParametersValue
impl From<u32> for RtpCodecParametersParametersValue
Source§impl From<u8> for RtpCodecParametersParametersValue
impl From<u8> for RtpCodecParametersParametersValue
Source§impl Ord for RtpCodecParametersParametersValue
impl Ord for RtpCodecParametersParametersValue
Source§fn cmp(&self, other: &RtpCodecParametersParametersValue) -> Ordering
fn cmp(&self, other: &RtpCodecParametersParametersValue) -> 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 RtpCodecParametersParametersValue
impl PartialEq for RtpCodecParametersParametersValue
Source§fn eq(&self, other: &RtpCodecParametersParametersValue) -> bool
fn eq(&self, other: &RtpCodecParametersParametersValue) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for RtpCodecParametersParametersValue
impl PartialOrd for RtpCodecParametersParametersValue
impl Eq for RtpCodecParametersParametersValue
impl StructuralPartialEq for RtpCodecParametersParametersValue
Auto Trait Implementations§
impl Freeze for RtpCodecParametersParametersValue
impl RefUnwindSafe for RtpCodecParametersParametersValue
impl Send for RtpCodecParametersParametersValue
impl Sync for RtpCodecParametersParametersValue
impl Unpin for RtpCodecParametersParametersValue
impl UnwindSafe for RtpCodecParametersParametersValue
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