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