pub struct VoiceNote { /* private fields */ }
Expand description
Describes a voice note. The voice note must be encoded with the Opus codec, and stored inside an OGG container. Voice notes can have only a single audio channel
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VoiceNote
impl<'de> Deserialize<'de> for VoiceNote
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 VoiceNote
impl RefUnwindSafe for VoiceNote
impl Send for VoiceNote
impl Sync for VoiceNote
impl Unpin for VoiceNote
impl UnwindSafe for VoiceNote
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