Struct rust_tdlib::types::VoiceNote
source · [−]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
sourceimpl<'de> Deserialize<'de> for VoiceNote
impl<'de> Deserialize<'de> for VoiceNote
sourcefn 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 RefUnwindSafe for VoiceNote
impl Send for VoiceNote
impl Sync for VoiceNote
impl Unpin for VoiceNote
impl UnwindSafe for VoiceNote
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more