pub struct AudioPCM {
pub rate: Option<String>,
pub type_: Option<String>,
}Expand description
The PCM audio format. Only a 24kHz sample rate is supported.
Fields§
§rate: Option<String>The sample rate of the audio. Always 24000.
type_: Option<String>The audio format. Always audio/pcm.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AudioPCM
impl<'de> Deserialize<'de> for AudioPCM
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
Auto Trait Implementations§
impl Freeze for AudioPCM
impl RefUnwindSafe for AudioPCM
impl Send for AudioPCM
impl Sync for AudioPCM
impl Unpin for AudioPCM
impl UnsafeUnpin for AudioPCM
impl UnwindSafe for AudioPCM
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