pub enum CodecType {
Video,
VideoAudio,
Audio,
}Expand description
CodecType
JSON schema
{
"type": "string",
"enum": [
"Video",
"VideoAudio",
"Audio"
]
}Variants§
Trait Implementations§
impl Copy for CodecType
Source§impl<'de> Deserialize<'de> for CodecType
impl<'de> Deserialize<'de> for CodecType
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
impl Eq for CodecType
Source§impl Ord for CodecType
impl Ord for CodecType
1.21.0 (const: unstable) · 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 PartialOrd for CodecType
impl PartialOrd for CodecType
impl StructuralPartialEq for CodecType
Source§impl TryFrom<&String> for CodecType
impl TryFrom<&String> for CodecType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CodecType
impl RefUnwindSafe for CodecType
impl Send for CodecType
impl Sync for CodecType
impl Unpin for CodecType
impl UnsafeUnpin for CodecType
impl UnwindSafe for CodecType
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