Enum protos::categories::AudioCategories
source · pub enum AudioCategories {
OggFile,
Mp3File,
}
Variants§
OggFile
A compressed audio file in the ogg container format
Mp3File
A compressed audio file in the mp3 format
Trait Implementations§
source§impl Clone for AudioCategories
impl Clone for AudioCategories
source§fn clone(&self) -> AudioCategories
fn clone(&self) -> AudioCategories
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 AudioCategories
impl Debug for AudioCategories
source§impl Decode for AudioCategories
impl Decode for AudioCategories
source§impl<'de> Deserialize<'de> for AudioCategories
impl<'de> Deserialize<'de> for AudioCategories
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 Encode for AudioCategories
impl Encode for AudioCategories
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
Convert self to a slice and append it to the destination.
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
source§impl PartialEq<AudioCategories> for AudioCategories
impl PartialEq<AudioCategories> for AudioCategories
source§fn eq(&self, other: &AudioCategories) -> bool
fn eq(&self, other: &AudioCategories) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.